vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| William writes: > Is there anyone in debian land that is using an external dialup modem and > is sharing the internet connection? What do you mean by "sharing"? If you want other machines on your LAN to connect to the Net via the Debian box just make it their gateway. Configure PPP for demand-dialing unless the connection is always up. -- John Hasler |
| |||
| John Hasler wrote: > William writes: > >>Is there anyone in debian land that is using an external dialup modem and >>is sharing the internet connection? > > > What do you mean by "sharing"? If you want other machines on your LAN to > connect to the Net via the Debian box just make it their gateway. > Configure PPP for demand-dialing unless the connection is always up. First I am new to linux about 16 months on and off.I know little about networking so I will tell you what I have and maybe you can shred some light on my problem. I have two computers using mepis via a crossover cable using a USR external dialup modem.I have the network working for file sharing.I can share files or any thing else from both computers.I can not get the second computer to share my internet connection.It took 10 minutes to install Mepis and I have spent 62 hours so far trying to get my second computer to share my internet connection.I am 63 years young and I would like to get this problem solved before my time on earth runs out.(ha,ha) Thanks kindly, William |
| |||
| John Hasler wrote: > William writes: > >>Is there anyone in debian land that is using an external dialup modem and >>is sharing the internet connection? > > > What do you mean by "sharing"? If you want other machines on your LAN to > connect to the Net via the Debian box just make it their gateway. > Configure PPP for demand-dialing unless the connection is always up. How do I configure PPP for demanding dialing? Thanks for the info. William |
| ||||
| William Comeau schrob: > I have two computers using mepis via a crossover cable using a USR > external dialup modem.I have the network working for file sharing.I can > share files or any thing else from both computers.I can not get the > second computer to share my internet connection. Tell the second cmputer to use the first as gateway (if you haven't already): add a gateway IP_OF_FIRST_COMPUTER line to your external interface in /etc/network/interfaces and something reasonable as nameserver in /etc/resolv.conf (I like running a caching nameserver on my gateway, but as a start, use the nameserver(s) of your ISP; you'll probably find them in /etc/resolv.conf on your first computer) on the first computer, you'll have to echo 1 > /proc/sys/net/ipv4/ip_forward and set up some iptables rules. You will need to read up on iptables and masquerading a bit, try iptables masquerade howto in google. Or you can use a "firewall builder" GUI[1] to semi-automatically generate rules for you if you feel uncomfortable with learning at least the basics of tcp/ip. HTH, Jan [1] shorewall and knetfilter are in both woody and sarge. apt-cache search iptables will show you some more. |