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? I can only speak from a debian perspective, and I am no expert but I'll spew forth what I can remember. There are two scripts pon and poff to connect and disconnect the dialup. Confs are found in /etc/ppp/* /etc/ppp/options contained the following options when it was working for me asyncmap 0 auth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx /etc/ppp/pap-secrets holds the login detail thus "username" * "password" * /etc/ppp/peers contains scripts for each of your isps. The default script is called provider and you need make an edited version for your isp. for example /etc/ppp/peers/clear # This optionfile was generated by pppconfig 2.3.10. << there's a hint # # #hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/clear" debug /dev/ttyS0 115200 defaultroute replacedefaultroute noipdefault user "username" persist usepeerdns /etc/chatscripts/clear looks a bit like this # This chatfile was generated by pppconfig 2.3.10. # Please do not delete any of the comments. Pppconfig needs them. # # ispauth chat # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO \ DIALTONE' ABORT 'NO ANSWER' ABORT DELAYED # modeminit '' ATZ OK "AT S7=45 S0=0 L1 V1 X4 W2 &c1 E1 Q0" # ispnumber OK-AT-OK "ATDT086725327" # ispconnect CONNECT '' # prelogin # ispname #ogin: "username" # isppassword #ssword: "\password" # postlogin '' \d\c # end of pppconfig stuff Some of that may well be unused dross that found it's way in there while trying to make it work which did take me a full week. As I say, this is all debian stuff and is unlikely to apply to Suse, but the defaultroute, replacedefaultroute and usepeerdns directives in the peer/provider script look a bit relevant to yuor problem. I don't think I ever had it working from userland.
| 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 |