Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux/Internet problem

Status
Not open for further replies.

gcw1

Programmer
Jan 12, 2002
204
CA
Hello, I've recently installed SUSE 9.2, and would like to give it access to the internet. I have a WinXp box and this Linux box. My modem is DSL and I'd like to connect them through a SMC router. I have no problems connecting the Xp box through the router and access the internet, but I can't figure out how to get the Linux one going. I read that PPPoE needs to be configured for Linux dsl setups, but i'm not sure how to do it. Can anyone give me a hand with this? Thanks

Glenn
 
What I do is simply connect my DSL modem to the network hub along with the PC's (Linux and W*****s), then specify its address as the "default gateway" in the network configuration dialogues in both systems. No messing with PPPoE needed.
 
The SMC router would handle the PPPoE if in fact you need it. The router probably has a built in switch so the Windoze PS and the Linux box would be connected to that. Both can use static IPs or DHCP from the router(most routers will serve out DHCP) THe default gateway for the workstations is the SMC Router. THe SMC router's default gateway is the next hop on the DSL side.. often this will be handed out by the ISP using DHCP over the DSL link so you dont need to worrying about it. THe client's DNS can be either local DNS using either box (BIND or whatever) or the router might be able to proxy the ISP's DNS to your workstations.

MikeS

Find me at
"Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots."
Sun Tzu
 
I assume your router performs NAT for your network (since it's a DSL)
The easiest way to connect your linux box would be:
1. Go to your winbox, control panel, network connections. Right click on your internet connection, select properties. In the window that appears select "Internet Protocol (TCP/IP)", select it and click "Properties" button.
2. You'll see a window with your connection data - IP, Gateway, Mask, DNS. If they're left blank - DHCP is active. If not, write them down.
3. Go to your SuSe box and use that pretty tool suse has for configuring network (I don't know suse but it sure has one)
4. If DHCP is running, just mark "Obtain automatically" field (or something similar), if not ...
5. Enter in correct fields network mask, gateway. Add your dns server to /etc/resolv.conf files. Enter IP address from the same network, but different from gateway and winbox.
6. If you don't know what's IP part about - ip consists of four numbers which are dot separated. Just increase last of them by 5, usually works ;)

I think Suse uses Yast2 for network configuration now.

M.
 
Well now I can get one or the other working. I still can't get both to work through the router. Here's my configuration. Both PC NIC's set to DHCP. I setup the router using PPPoE and entered username and pass. DSL modem is connected to the WAN port on the router.
 
Forgot to mention that inorder to get one ws or the other online I have to have the modem pluged into a regular port on the router.
 
Ok sometimes you just have to walk away from a problem and come back to it later. It seems that I was typing my PPPoE username incorrectly hehe. Thanks for all your help and suggestions. :)

Glenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top