General discussion


Joining Linux PC to Win Network

By amdanny30 ·
I have installed Linux 9.0 on a PC on which i already have windows 2000 pro running. The PC is on a network connected to internet via a broad band connection. When I boot to the windows side i can connect to the internet and it works fine.

My problem however is I cannot get the Linux to join the windows network and also it's not able to connet to the internet. Can someone help me go round this.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by LMon In reply to Joining Linux PC to Win N ...

Need more info:

Is your network card being dtected?

If so how do you connect to the internet dsl, dial up, cable?

Have you configured your network settings to your linux box to match the windows?

Have you configured samba?

Collapse -

by amdanny30 In reply to Joining Linux PC to Win N ...

Thanks. The network card has bben detected and I have configured it.
The network i want to join (same network on which the windows is), is connected to the internet via a cale modem.
I have not configured samba. I'll try doing that. but does it mean the Linux has to physically join gthe windows domain/workgroup before it can get acess to the internet??


Collapse -

by mysuse In reply to Joining Linux PC to Win N ...

May be it's just a bit miss configuration.
Try doing this...

$ping ( is just an example, you may use another host)

if it said something like 'host not found' or 'unknown host' , try edit /etc/resolv.conf and add your dns server like this format

nameserver yyy.yyy.yyy.yyy

change x and y with your dns server.

if no errors found, it should return like this

PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=238 time=252 ms
64 bytes from ( icmp_seq=2 ttl=238 time=247 ms
64 bytes from ( icmp_seq=3 ttl=238 time=257 ms

if you got error like 'Network is unreachable',
you may check your connection to your gateway server in your LAN,

try this command

$/sbin/route add default gw xx.yy.zz.nn ( change this with your gateway ip address)
then try the "ping" command above

if all this steps works and still can't make you get in to internet. Please let me know, and it will be great if you also include error message you got.

Collapse -

by Nico Baggus In reply to Joining Linux PC to Win N ...

No you don't need samba to access the internet.
That's just "plain" routing and interface
configuring. like described.
samba is only needed you you need access to
windows shares and printers.

Collapse -

by dillip_linux In reply to Joining Linux PC to Win N ...

How did u configure ur network? Did u use graphical client or linuxconf or simply netconfig??? If you tell me what class of network ur using,I maybe help you.


Collapse -

by f-2158441 In reply to Joining Linux PC to Win N ...

Yes. To operate on a network you must have a unique IP address for each machine (and OS). A host must be present to provide the necessary services. Windows (ME,2k,XP) services do this through auto-negotiation. Many routers assign addresses via dhcp and they do this based on the MAC address reported by the NIC in the machine.
If all the other machines are left on and you reboot into Linux, the simplest way to handle it is to set-up multi-homing (a virtual NIC) with it's own IP address and use that for your networking in Linux. You can do it with the graphic tools from the desktop. On a small network, you can assign it a specific and permanent address on the router and in the hosts file in each machine. There are many ways to do this, I am just mentioning one of them.

Collapse -

by f-2158441 In reply to

I always get into trouble about network "hosts", the auto-negotiation process may split the services for running the network over several machines, but will assign a "boss".

Related Discussions

Related Forums