Hi, the network is working fine and the drivers are installed. I configured samba with the 104 ip given by the dhcp but now i want to set it static. In the /etc/sysconfig/network-scripts/ directory there is a file called ifcfg-lo. See the contents below, but I think this one refers to the localhost.
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
This is the contents of ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:24:BE:BC:1D:1A
inet addr:192.168.100.104 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::224:beff:febc:1d1a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:584078934 errors:0 dropped:2519095 overruns:0 frame:0
TX packets:269580947 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:712243443428 (663.3 GiB) TX bytes:355112425508 (330.7 GiB)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:593700 errors:0 dropped:0 overruns:0 frame:0
TX packets:593700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:113487887 (108.2 MiB) TX bytes:113487887 (108.2 MiB)
wlan0 Link encap:Ethernet HWaddr 00:23:14:23:31:8C
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@linux network-scripts]#
Quote:
Originally Posted by vp0619520
Hi,I use the same system,but I found the file /etc/sysconfig/network-scripts/ifcfg-eth0.I think you can use the command:'ifconfig -a',and check the output ,I think you just have not install the driver of your NIC correctly.
|