homepage Welcome to WebmasterWorld Guest from 54.237.184.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
I need help!
Windows And Linux LAN
smokeysz4




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

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.

 

m_shroom




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

What disro of linux are you running?

smokeysz4




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

SuSE Linux.

ibrahimtaj




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

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.

-Ibrahim

taivu




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

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 192.168.0.1. On the client machine, use 192.168.0.2 as the IP address and 192.168.0.1 (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 192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0 up
/sbin/route add default gw 192.168.0.1

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. 64.33.51.156) 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved