Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dialup router
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cartpullerjack
Apprentice
Apprentice


Joined: 16 Nov 2003
Posts: 185

PostPosted: Thu Feb 19, 2004 5:56 pm    Post subject: dialup router Reply with quote

I'm putting gentoo on my brother's linux box right now. My parents connect via dialup, so here's what I want to do:

Get dialup running on the Gentoo box (lucent winmodem)
Route the connection to 2-3 computers behind a wireless router.

So, there are two questions:
1) Does anyone have a good howto on getting winmodems working under gentoo? I think my parents use AT&T, so if anyone has any pointers about them specifially, I would appreciate that. Mostly I'm worried about handshaking scripts and so forth.

2) I've never done anything like this networking-wise. I know I can find some good tutorials on iptables and so forth. The question I have is more about the physical setup: Do I have to connect the linux box to the WAN port on the router for the other machines to see the internet, and if so, is it then possible to set up the subnet so that the linux box can see all of the machines?

Thanks for any help
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu Feb 19, 2004 6:42 pm    Post subject: ltmodem+wvdial Reply with quote

you could try
Code:
emerge net-dialup/ltmodem

which provides drivers for the lucent apollo/mars chipsets. Also I'd use wvidal as the dialler, or if you absolutely must have a gui, kppp.

You'll need pppd as well I imagine
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2022
Location: Vegas Baby!

PostPosted: Thu Feb 19, 2004 8:33 pm    Post subject: Reply with quote

I'm only answering your network question...

For starters, I hope your router is also a 4 port switch.. If not, the router is a good as useless with your needs... If not, then great.. You won't be needing the WAN port, only the switch ports.

1. Get ppp working with dial up modem.

2. Plan ahead with what IP subnet your want to use with your PCs. The most common is 192.168.0.0/24 but you can really choose any private IP subnet you want. Next, you'll need to install a NIC on the gentoo box to route data between the other computers and the internet (using ipchains).

3. After installing NIC, assign NIC an IP address (ex: 192.168.1.254/255.255.255.0), without gateway. Connect NIC to a switch port. Next configure remainer of PCs with IP addresses and connect them to switch ports. Make sure you put them on the same subnet (ex: 192.168.1.1-5/255.255.255.0). The gateway IP for these workstations is the IP of the NIC on the gentoo box (ie: 192.168.1.254).

4. Configure ipchains. Can't help here. Never used ipchains.

5. Good Luck.

btw: you'll need to connect all NICs to switch ports using straight cables (not crossover).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum