[newbie] wvdial or pppd: what next?
I have this modem: 00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 01) I used slmodem-2.9.4 and I get dialtone and I am able to dial. It looks like this: [EMAIL PROTECTED] dan]# wvdial -- WvDial: Internet dialer version 1.53 -- Initializing modem. -- Sending: ATZ ATZ OK -- Sending: ATX3 ATX3 OK -- Modem initialized. -- Sending: ATDT971200111 -- Waiting for carrier. ATDT971200111 CONNECT 52000 -- Carrier detected. Waiting for prompt. [EMAIL PROTECTED]} }9}}} }*} } }#}%B#}%}%}v1 [18]}'}}(}P[03]~ -- PPP negotiation detected. -- Starting pppd at Fri Jan 2 14:37:17 2004 -- pid of pppd: 8390 -- Disconnecting at Fri Jan 2 14:38:06 2004 -- The PPP daemon has died: PPP negotiation failed (exit code = 10) -- man pppd explains pppd error codes in more detail. -- I guess that's it for now, exiting -- The PPP daemon has died. (exit code = 10) [EMAIL PROTECTED] dan]# Now the exit code 10 means: 10 The PPP negotiation failed, that is, it didn't reach the point where at least one network protocol (e.g. IP) was running. But I am lost now as for where to look further. Should I modify the config of wvdial or pppd? Or is it something completely different? Thanks for showing me the light. -- Daniel Hrbac [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] wvdial
Frankie wrote: my favorite method of dialup is wvdial. Its an intelligent dialer that reads what the remote server says and responds appropraitely. doesn't kppp do that too? what should I expect differently? urpmi wvdial (As root) cd /etc touch wvdial.conf wvdialconf /etc/wvdial.conf It will detect your modem, setup init strings and stuff and write some stuff to wvdial.conf Then you just edit the file and replace the username and password and phone number with your ISP's and run: wvdial and bobs your uncle.. it does all the work. as for DNS.. if you don't have a good DNS server, I use 139.130.4.5 in most places as a last resort dns server in /etc/resolv.conf Its an DNS server for Australias biggest ISP.. regards Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] wvdial permissions
Another wvdial question, when I try to dial with wvdial, I have to su to root and use it there. As a user it tells me that the device is busy. Seems like a permissions problem, but can not find anything in the logs that looks like a reference to ppp or wvdial. I don't know if it is a problem to run wvdial from a su console, but it makes me nervous. Any suggestions are appreciated. -- Dennis M. registered linux user # 180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] wvdial permissions
yes, wvdial needs to be run as root.. means you have three choices. 1. add it to rc.local so it runs as root on boot. 2. suid it, so it runs with roots permissions, (potentially dangerous security wise if not done correctly. 3. su into root and start it when you want it. Thats pretty much all you can do.. I think there are graphical dialers that are frontends for wvdial that can do the suid for you.. you might want to check them out. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis Myers Sent: Sunday, 24 February 2002 9:09 AM To: Newbie Linux-Mandrake Subject: [newbie] wvdial permissions Another wvdial question, when I try to dial with wvdial, I have to su to root and use it there. As a user it tells me that the device is busy. Seems like a permissions problem, but can not find anything in the logs that looks like a reference to ppp or wvdial. I don't know if it is a problem to run wvdial from a su console, but it makes me nervous. Any suggestions are appreciated. -- Dennis M. registered linux user # 180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] wvdial used with ifup (Answered my own Question.)
Hi all, If anyone is interested, here is how I just got ip aliases for ppp0 working with wvdial in control of the connection. add your ifcfg-ppp0:0 line as normal, (or use linuxconf to do it.) edit the file and add the line DEVICE=ppp0:0 to the top of it.. do the same for any other ip aliases files. then create a executable file called dial and put it in /usr/sbin in that file do something like this: #!/bin/sh wvdial # The starts wvdial in the background or it won't return control of your terminal. sleep 20 ifup ppp0:0 ifup ppp0:1 ifup ppp0:2 /etc/firewall/gShield.rc #This is my firewall, you may have something different. fetchmail # If you want to start fetchmail deamon after dialup then edit /etc/rc.d/rc.local and at the end add: /usr/sbin/dial then your system will dial when it boots, and bring up your ip aliases. then you can create a hangup file in /usr/sbin with just killall wvdial in it. and thats it, now I can use virtual IP's with wvdial, which does a much better job of connecting to my ISP then any tool Mandrake or Redhat have thus far released. pretty easy actually, it was the device line that had me.. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Franki Sent: Tuesday, 12 February 2002 1:53 AM To: [EMAIL PROTECTED] Subject: [newbie] wvdial used with ifup Hi all, I want to use ifup and ifdown to activate/deactivate my dialup connection, but I want to use wvdial to establish the connection.. with no extra parameters. The reason for this, is that I want to bring up all the virtual IP's that are associated with ppp0.. wvdial connects great, but unfortunately, it doesn't bring up any of the virtual IP's with the interface.. is there a way to do it manually? or as I stated, use ifup ppp0 to activate the interface and bring up all the virtuals IP's around it. Has anyone done this or is it not possible? rgds Frank Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] wvdial
On Saturday 09 February 2002 12:55, Tim wrote: Having never used the app, the best thing I can suggest would be to kill the process that's running. kill -9 `ps auxw | grep wvdial | awk '{print $2}' | sort` How does the above compare to killall wvidial? Thanks. *** Powered by SuSE Linux 7.3 Professional KDE 2.2.1 KMail 1.3.1 This is a Microsoft-free computer Bryan S. Tyson [EMAIL PROTECTED] *** Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] wvdial
Hi folks, a dumb question, I set up wvdial and it dials up just dandy but now I can't get it to shut off, and if I unplug the external modem it just redials when plugged back in. How do you turn the dumb thing off when you don't need it, I have been through the man pages and docs and don't see anything on hang up. TIA for any assistance. -- Dennis M. registered linux user # 180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] wvdial
If you're running it in a terminal, just do a ctrlc in the terminal. That's do it. On Sat, 2002-02-09 at 09:13, Dennis Myers wrote: Hi folks, a dumb question, I set up wvdial and it dials up just dandy but now I can't get it to shut off, and if I unplug the external modem it just redials when plugged back in. How do you turn the dumb thing off when you don't need it, I have been through the man pages and docs and don't see anything on hang up. TIA for any assistance. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] wvdial
On Saturday 09 February 2002 10:13, Denkar wrote: Hi folks, a dumb question, I set up wvdial and it dials up just dandy but now I can't get it to shut off, and if I unplug the external modem it just redials when plugged back in. How do you turn the dumb thing off when you don't need it, I have been through the man pages and docs and don't see anything on hang up. TIA for any assistance. Try ctrl-c *** Powered by SuSE Linux 7.3 Professional KDE 2.2.1 KMail 1.3.1 This is a Microsoft-free computer Bryan S. Tyson [EMAIL PROTECTED] *** Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] wvdial questions
Hi all, I seem to be having problems with wvdial. I can dial out as root, but not as s. I chown and chmod all the scripts and /dev/ttyS2, but I get a "Cannot open /dev/ttyS2: Device or resource busy" error. ??? But su to root and can dial. Any suggestions? (Don't really want to connect as root.) Also how does one disconnect? I been hitting ctrl + c, but it sees it as a error and I think there must be a better way. In a terminal I can open another session, but what if I'm at run level 3? ctrl + c? Any thoughts? (pppd connect is a bigger mess! Same: have to be root, and then lynx can't connect to any sites. ? Using: pppd connect 'chat -v "" ATDT2210704 ogin: me word: my pass' /dev/ttyS2 115200) I wouldn't mind figuring out the pppd deal, because when I use muLinux, it's the same, can connect, but quark and rna cannot go anywhere.) TIA, -s
[newbie] wvdial
Where can I find (exactly) WVDIAL on rpmfind.net? can't find it... -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit=
Re: [newbie] wvdial
On Thu, 20 Jul 2000, you wrote: Where can I find (exactly) WVDIAL on rpmfind.net? can't find it... -- Go to rpmfind.net, index by name, choose W, and you will find it there (it' s a long way round, but I get there eventually !!) Roger