Settup PPP without KPPP
Any one know how I can setup ppp with a dialout account that uses dynamic IP addresses? I would rather not use kppp because that would force me to install kde and i'd rather not do that. I tried the ppp config tool and everything connected but when I try to go to a website or try to log into chat it acts as though its not online. Any suggestions?
|
hi there
try the command line tool wvdial man wvdial will help u more on this regards |
Why not just read up on the docs for ppp in linux or the man pages and configure the conf. pages in /etc manually?
That is the slackware way after all :p |
I'm doing it manually
you need two scripts, here are my: /etc/ppp/btc '' ATZ OK ATDP,0134200 CONNECT '' ogin: impuls word: infotel /etc/ppp/ppp-btc pppd connect "/usr/sbin/chat -v -f /etc/ppp/btk" /dev/ttyLT0 38400 lock \ -detach crtscts modem defaultroute noipdefault ipcp-accept-local \ ipcp-accept-remote persist demand holdoff 10 NB: the /dev/ttyLTO is my modem device - winmodem normally it should be /dev/ttyS0 you must specify a DNS in /etc/resolv.conf the easiest way is to write there nameserver 127.0.0.1 and to start named on your computer option demand means that the connection will be created when you make request to internet. You can remove it, if you will not use the modem all the time. there is a pppsetup command, but it has never worked for me fine. |
change K to C in the second scrit
pppd connect "/usr/sbin/chat -v -f /etc/ppp/btc" /dev/ttyLT0 38400 lock \ |
If you do not want to fiddle with scripts I agree with masand - wvdial seems simple and reliable, and easy to set up multiple ISP connections, programs to run on shutdown and so on. I run it in a small terminal in the bottom corner of the screen so it also shows me what is happening, tells me the IP addresses and enables me to disconnect simply by closing the terminal. The configuration file is a model of clarity.
|
I found just the opposite. Wvdial didn't work for me at all for some reason.
I also didn't want to use kppp (fluxbox is my choice) I used pppsetup, and the only changes I had to make were changing my modem from ttyS0 to ttySHCF0 in both /etc/ppp/options and options.demand. Worked just fine. chopp |
Thanks for all the suggestions! I'll try them all and post my results. :)
|
You might try this:
http://amigolinux.org/download/scripts/ispsetup1.2 This is pppsetup hacked to set up dynamic DNS and only asks for your isp info, port location of modem and phone#. Or just use ppp, but after setup add 'usepeerdns' to the options file, and put a ping in ip-up for every few minutes to keep the connection up. |
What should I put in the chat script so that it will automatically redial if the line is busy?
|
you can just load and run gnome-ppp. It is similar to kppp.
|
I use chestnut-dialer, found it on sourceforge. Works fine for me.
|
also check yawmppp it looks pretty cool as a small thin bar
Cheers |
Alright I'v tried everything but wvdial so far and everything connects just fine (although i have to log into root to connect). But still I can't go to any websites or anything. Would this have to do with permisions? And if so what group would I have to add my user to in order to browse the web?
|
DNS problem perhaps
or if you're connected to a network and have a default gateway it's trying to go through it. You should ifconfig eth0 down and then connect via modem As I said before, start named on your computer and put in /etc/resolv.conf nameserver 127.0.0.1 |
All times are GMT -5. The time now is 02:19 PM. |