ps -A | grep 898
will tell you the process name that currently has that port.


On Tue, Aug 11, 2009 at 2:24 PM, Yuri Roibu <yuri@reverseenterprises.com> wrote:



Anch wrote:
>
> Could you ping 4.2.2.1?
>
>
>
> Yuri Roibu wrote:
>>
>>
>>
>> Anch wrote:
>>>
>>> HI Yuri,
>>> Try pinging an ip address. If you can ping an ip address (e.g 4.2.2.1)
>>> then you have network connectivity.
>>> The problem is that pppd doesn't seem to set /etc/resolv.conf properly.
>>> You will have to copy the file
>>> /var/run/ppp/resolv.conf as /etc/resolv.conf once you have established
>>> pppd connection.
>>>
>>> Regards
>>> Muktabh
>>>
>>>
>>>
>>> Yuri Roibu wrote:
>>>>
>>>> hello every body im forcing a small problem i want to connect my
>>>> gumstix over serial with ppp package to a web page throw a GSM i had
>>>> managed to make 1 working and i have all of the scripts but when i was
>>>> recompiling the kernel and image i had changed smth and know it dosnt
>>>> work i am using gumstix-x11-image
>>>> and kernel 2.6.21 after i am instaling with ipkg next packeges:
>>>> 1. ppp_2.4.3-r3_armv5te.ipk
>>>> 2.kernel-module-ppp-async_2.6.21-r1_gumstix-custom-verdex.ipk
>>>> 3.kernel-module-ppp-deflate_2.6.21-r1_gumstix-custom-verdex.ipk
>>>> 4.kernel-module-ppp-generic_2.6.21-r1_gumstix-custom-verdex.ipk
>>>> 5.kernel-module-ppp-mppe_2.6.21-r1_gumstix-custom-verdex.ipk
>>>> 6.kernel-module-ppp-synctty_2.6.21-r1_gumstix-custom-verdex.ipk
>>>> and looks like everything is fine when i try to make: pppd call gprs(my
>>>> ready script which is working on the other gumstix)
>>>>  is writing ppp generic driver registred and looks like all goes fine
>>>> but the web page doesnt comes up am im missing smth?
>>>> plz im stuck
>>>>
>>>>
>>>
>>>
>>  Hi Anch
>> i have tried to ping the www.google.com the result was hostname lookup
>> failed what i can be?
>> with regard tnx for help
>>
>>
>
>

im not sure but i think the problem is here
Jan  1 03:04:02 gumstix-custom-verdex daemon.notice pppd[987]: pppd 2.4.3
starte
d by root, uid 0
Jan  1 03:04:02 gumstix-custom-verdex daemon.notice pppd[987]: Device ttyS2
is l
ocked by pid 898
Jan  1 03:04:02 gumstix-custom-verdex daemon.info pppd[987]: Exit.

i found this in var/log/messages

my script is using ttyS2 to connect but some how is locked i was thinking
maybe smth else is using it ?
or can i unlock it somehow?
strange thing is that on the other gumstix is working fine on ttyS2 any
ideas?
tnx in advance for help

--
View this message in context: http://www.nabble.com/PPPD-tp24895086p24923129.html
Sent from the Gumstix mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Say you can or say you can't, either way you will be right.
Computers are like old testament gods: Lots of rules and no mercy.