PDA

View Full Version : Dial up problem.



Wayne W
07-30-2003, 07:38 PM
I have an ethernet card in my machine which connects with my wife's machine. Her's is set up as 192.168.0.1, this one is 192.168.0.2. I also have a modem in both machines. When knoppix boots up it finds the ethernet card and says we're gonna use that come hell or high water. I had the same problem with Mandrake and finally found the solution there in the set up.

Now under knoppix these things I did under Mandrake don't work.

route -n #this finds the IP address I am dialled into
route del default
route add default gw x.x.x.x #(x.x.x.x is what was found above)

would always work to get me out on the internet after I have dialled up.

This does not do the job under knoppix, even tho it says it has done right. I know it is Debian, so what is different that I have to do under it?????

Dave_Bechtel
08-06-2003, 02:53 AM
--Sounds like an overly-complex way of getting around a problem... (But then again, I've never gotten route commands to work.) What are you using to dial? wvdial, kppp? As long as you're the only one using the Internet and the browser is set for "direct connection to the internet" you shouldn't need to mess with route commands.

--Another way of approaching this problem is to make 1 machine an Internet dialup / proxy cache server. This is how I have my network setup: You can modify /etc/ppp/options for dial-on-demand whether it's using phone-modem or dynamic-IP DSL. Then setup Squid proxy cache (which speeds up things a great deal for multiple accesses *and* allows a bunch of machines to all use the Internet at the same time) and point all browsers to servermachine:3128. You can also set some environment variables so that commands like wget and apt-get all point to the proxy.

--If you allocate enough disk space to Squid (I typically give it at least a gig and a half and modify the config file to retain large files) you can speed up Windows updates and apt-get updates for multiple machines, cuz they all find the files in the web cache after the 1st update. 8)

--Yeah, yah, I know, not what you were expecting. :) But Squid is one of the best uses of my Linux box that I know of. If you want further help on this kind of solution I'll be glad to send you my config files and help out.


I have an ethernet card in my machine which connects with my wife's machine. Her's is set up as 192.168.0.1, this one is 192.168.0.2. I also have a modem in both machines. When knoppix boots up it finds the ethernet card and says we're gonna use that come hell or high water. I had the same problem with Mandrake and finally found the solution there in the set up.

Now under knoppix these things I did under Mandrake don't work.

route -n #this finds the IP address I am dialled into
route del default
route add default gw x.x.x.x #(x.x.x.x is what was found above)

would always work to get me out on the internet after I have dialled up.

This does not do the job under knoppix, even tho it says it has done right. I know it is Debian, so what is different that I have to do under it?????