The NZ Linux Resource

[klug] Dial up connection

Graeme Neilson graeme at lolux.net
Fri Nov 11 09:55:59 NZDT 2005


Nathan,

sounds like a routing problem - a post of the log of your ppp connection 
would be useful.

use ifconfig to bring down your lan card 'ifconfig eth0 down'
dial up
use 'ifconfig ppp0' to check the status of the dial up link
use 'route' to check the routing - default route should be set (and it 
should not be your lan)
ping the google ip address I gave you
then check dns settings

'tcpdump'is very useful for network debugging - read the man page on it 
and have it running in another terminal as you dial up and do your pings

Graeme

Nathan Cook wrote:

> Well I've had a bit of a chance to sit down and try and get it 
> working. I have sorted the lock file problem and also the user has 
> access to ttyS0. The modem dials, handshakes and transfers data, from 
> what I can see in the log files etc. The modem is definately connected 
> as the phone is busy.
>
> When I try to load up google in the browser nothing loads, I ping the 
> ip address of google and get no response, I ping the host name of 
> google and nothing comes back.
>
> I'm thinking that I don't have the DNS settings right, but these are 
> what I have been given from Clear. Could be also that my NIC which is 
> connected to an internal LAN is interfering, but if I disable it I 
> still get the same issue.
>
> Thanks for your time on this Graeme, do you or anyone else have any 
> ideas?
>
> Regards
>
> Nathan
>
> Graeme Neilson wrote:
>
>> Nathan,
>>
>> You should also check if the user has permission to access the modem 
>> devices ttys0 and ttyLT0.
>> Normally there is a group you can add the user to to allow dial out 
>> access.
>>
>> You probably want to know which modem is the default  (ie linked to 
>> by /dev/modem) as well.
>>
>> Graeme
>>
>> Graeme Neilson wrote:
>>
>>> Hi Nathan,
>>>
>>> Sounds like you don't have the necessary permissions to create the 
>>> lock file / use the modem device.
>>> Does it work if you are root?
>>>
>>> Graeme
>>>
>>> Nathan Cook wrote:
>>>
>>>> Hi all,
>>>>
>>>> Someone a while ago mentioned a few details on getting Suse working 
>>>> with a dial up connection, I have both a Hardware Dynalink modem 
>>>> and a Dynalink Winmodem to use, both are detected by Suse and I can 
>>>> edit the properties.
>>>>
>>>> The Hardware modem is detected and assigned to ttys0 and the 
>>>> winmodem is assigned to ttyLT0.
>>>>
>>>> After I configure the modem in Yast along with the dial up 
>>>> properties of Clear Net I go to the kppp settings and it asks me to 
>>>> setup the connection in there, I follow the instructions provided 
>>>> but when I get the part to configure the modem and test it I get 
>>>> the error "unable to create modem lock file".
>>>>
>>>> Anyone able to help, the searches I did through Google didn't bring 
>>>> up anything obvious?
>>>>
>>>> Cheers
>>>>
>>>> Nathan
>>>>
>>>> _______________________________________________
>>>> KLUG mailing list
>>>> KLUG at linux.net.nz
>>>> http://www.linux.net.nz/cgi-bin/mailman/listinfo/klug
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> KLUG mailing list
>>> KLUG at linux.net.nz
>>> http://www.linux.net.nz/cgi-bin/mailman/listinfo/klug
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> KLUG mailing list
>> KLUG at linux.net.nz
>> http://www.linux.net.nz/cgi-bin/mailman/listinfo/klug
>>
>>
>>
>
> _______________________________________________
> KLUG mailing list
> KLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/klug
>
>
>




More information about the KLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz