Click to See Complete Forum and Search --> : Netwok is not reachable (PLZ HLP!!)
v^v^vlIqUiDmAtRiXv^v^v^v
10-31-2001, 01:09 PM
Alright here we go (newbie!!)
PEN II 450
O/S RH 7.2 PRO
256 meg
Linksys LNE100tx NIC
I am running a Win2k Box (SERVER 192.168.0.1)which I am using to share DSL internet using DHCP with another Win2K box (POS). Now I want to connect this Linux box (TMWSIY) to the network. I have tried everything, how do I get samba to play with DHCP. I can't even get basic access to the network. Does anyone have a Linux for Dummies networking link or some sound advise. Thanks
-LM
scanez
10-31-2001, 01:24 PM
Hmm, first things first. Samba has nothing to do with DHCP or your connection, it is used for sharing files between windows and linux machines, that's all (and printers as well). Run /sbin/ifconfig. What does it show for eth0? If it doesn't even show eth0, you need to load the module for your card
modprobe tulip
Have a look at the /etc/sysconfig directory. There lie the RedHat configuration files for your network. But first check on the above and then come back.
Cheers
SC
v^v^vlIqUiDmAtRiXv^v^v^v
10-31-2001, 01:44 PM
Ok the ifconfig brings up the (NIC)ethO and shows no errors. So I think that end is ok but I have been wrong before ;)
-LM
v^v^vlIqUiDmAtRiXv^v^v^v
10-31-2001, 01:52 PM
Got the directory open awaiting you command:
scanez
10-31-2001, 02:02 PM
Alright then, now. Go to the network-scripts directory in /etc/sysconfig and create/edit the file ifcfg-eth0 to have
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Also make sure that that package dhcpcd is installed. After you check these two things, run
/etc/rc.d/init.d/network restart
to restart the network and hopefully it should be all good.
Good luck
SC
v^v^vlIqUiDmAtRiXv^v^v^v
10-31-2001, 03:44 PM
Thanks allot you saved me hours of battle
-LM
v^v^vlIqUiDmAtRiXv^v^v^v
10-31-2001, 03:54 PM
Ok
I can Ping my server
I can't see my Linux box (TMWSIY) with net view from (SERVER)
I can't connect to the shared internet connection.
I know I'm really close >>>> hopefully
scanez
10-31-2001, 09:33 PM
Originally posted by v^v^vlIqUiDmAtRiXv^v^v^v:
<STRONG>Ok
I can Ping my server
I can't see my Linux box (TMWSIY) with net view from (SERVER)
I can't connect to the shared internet connection.
I know I'm really close >>>> hopefully</STRONG>
Alright then. First, do you have samba installed and running on the linux box? I think that is I think you can't see it from windows. If you have it installed, run
ps aux | grep smbd
ps aux | grep nmbd
as root to see if it is running. Okay, now that you have changed the config scripts for eth0, what does /sbin/ifconfig show now?