linux-2r59:/etc/sysconfig/network # cat ifcfg-eth0
# I-O DATA DEVICE,INC. USB-ET/TX-S
DEVICE=eth0
BOOTPROTO=none
IPADDR=**192.168.0.32**
ONBOOT=yes
HWADDR=00:a0:b0:28:d7:11
TYPE=Ethernet
linux-2r59:/etc/sysconfig/network # service network restart
Shutting down the NetworkManager done
Shutting down network interfaces:
eth0
eth0 done
irda0
No configuration found for irda0
Nevertheless the interface will be shut down.
irda0 done
wlan0 device: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
wlan0 done
Shutting down service network . . . . . . . . . done
Starting the NetworkManager done
linux-2r59:/etc/sysconfig/network # ifconfig
eth0 Link encap:Ethernet HWaddr 64:01:B0:28:D7:11
inet addr:**192.168.1.6** Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6601:b0ff:fe28:d711/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18980 errors:0 dropped:0 overruns:0 frame:0
TX packets:19855 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17378064 (16.5 Mb) TX bytes:3134368 (2.9 Mb)
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:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1100 (1.0 Kb) TX bytes:1100 (1.0 Kb)
The hardware address in the config file HWADDR=00:a0:b0:28:d7:11 does not seem to match the actual hardware address of HWaddr 64:01:b0:28:d7:11 when the ip address is set. Perhaps the config file is wrong?
Thank You,
On Wed July 21 2010 12:23 pm, baijingjiao wrote:
>
> Code:
> --------------------
> linux-2r59:/etc/sysconfig/network # cat ifcfg-eth0
> # I-O DATA DEVICE,INC. USB-ET/TX-S
> DEVICE=eth0
> BOOTPROTO=none
> IPADDR=192.168.0.32
> ONBOOT=yes
> HWADDR=00:a0:b0:28:d7:11
> TYPE=Ethernet
> linux-2r59:/etc/sysconfig/network # service network restart
<snip>
>
> --------------------
>
baijingjiao;
Are you trying to edit “ifcfg-eth0”? Why? To configure your network card just
use YaST. This Howto may help you get it setup:
http://opensuse.swerdna.org/susenic.html
If you are setting up a static IP on a desk top, I would suggest you choose
the ifup method.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
oh right, I copied the ifcfg-eth0 from another system, I didn’t change the HWaddr:P
Thanks for your information, I will follow that link.