Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

I need help!

Windows And Linux LAN



4:31 pm on Jul 11, 2004 (gmt 0)

10+ Year Member

I have a problem. I have 2 computers on my LAN right now and one runs on windows and one runs on windows and linux the one that just runs on windows is the computer that connects directly to the internet and the one I have that runs on linux/windows recieves internet from that computer. Well I cannot get internet while using linux but I can when I use Windows on the computer. If anyone can help me that would be great.


4:52 pm on Jul 11, 2004 (gmt 0)

10+ Year Member

What disro of linux are you running?


4:57 pm on Jul 11, 2004 (gmt 0)

10+ Year Member

SuSE Linux.


6:00 pm on Jul 11, 2004 (gmt 0)

10+ Year Member

I never use SuSe but have used Mnadrake and redhat to access internet both as direct and through proxy. When I had that type of problem, I only active or de-activate proxy setting depending on whether I am using proxy or not. You can try that may be it is applicable to SuSE too.



10:39 pm on Jul 11, 2004 (gmt 0)

10+ Year Member

Are you using ICS (Internet Connection Sharing) on the Windows machine that is connected directly to the Internet? Since the client machine's connection is working when you are booted to Windows, you can check the TCP/IP settings and also write down the nameserver IPs while in Windows. Then boot to Linux and use the same values.

If you are using ICS, the host IP should be set to On the client machine, use as the IP address and (IP of the host) as the gateway.

I am unfamiliar with SuSe (running FreeBSD and Debian here), but I'm sure you can find a graphical tool for setting up the network (in KDE or Gnome). If not, the good ole ifconfig and route commands should do the trick:

/sbin/ifconfig eth0 broadcast netmask up
/sbin/route add default gw

In the commands above I am assuming that your network interface is "eth0" and that you will be using the IPs mentioned before.

Please note that using ifconfig and route you get a connection for this session only: after reboot you have to set up the connection again. Using ifconfig and route is a quick way to figure out if the connection can be established and if it's working. If yes (you can ping the host and ping a public IP, ie. then you can move on to making those settings stick and the connection established automagically after every boot.

Using the GUI network setup tools you will be making permanent settings and there usually is an option to bring the connection up after every boot.

Let us know how it goes.


Featured Threads

Hot Threads This Week

Hot Threads This Month