i install the latest slitaz rolling on my ext3 usb using tazusb
i set network.conf look below:
# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
# Set default interface.
INTERFACE="eth0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="no"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="yes"
# Set IP address and netmask for a static IP.
IP="172.22.40.145"
NETMASK="255.255.255.0"
# Set broadcast address
BROADCAST="172.22.40.145"
# Set route gateway for a static IP.
GATEWAY="172.22.40.1"
# Set domain name
DOMAIN=""
# Set DNS server for a static IP.
DNS_SERVER="202.106.0.20"
it is the same with my another windows7 where i can access the internet.
below is some information about my network config in the slitaz:
root@slitaz:/home/tux# lspci | grep [Ee]th
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
root@slitaz:/home/tux# uname -a
Linux slitaz 3.2.53-slitaz #4 SMP Wed Feb 11 12:43:16 CET 2015 i686 GNU/Linux
root@slitaz:/home/tux# /etc/init.d/network.sh restart
stopping all interfaces
ifconfig: SIOCGIFFLAGS: No such device
Killing all daemons
killall: udhcpc: no process killed
wlan0 No such device
Configuring static IP on eth0: 172.22.40.145...
root@slitaz:/home/tux# ifconfig
eth0 Link encap:Ethernet HWaddr 44:8A:5B:4A:C7:F0
inet addr:172.22.40.145 Bcast:172.22.40.145 Mask:255.255.255.0
UP 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)
Interrupt:17 Base address:0x4000
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:7238 errors:0 dropped:0 overruns:0 frame:0
TX packets:7238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1123395 (1.0 MiB) TX bytes:1123395 (1.0 MiB)
tux@slitaz:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.22.40.1 0.0.0.0 UG 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
172.22.40.0 * 255.255.255.0 U 0 0 0 eth0
root@slitaz:/home/tux# arp
? (172.22.40.1) at <incomplete> on eth0
root@slitaz:/home/tux# arp -a
? (172.22.40.1) at <incomplete> on eth0
root@slitaz:/home/tux# ls /sys/class/net
dummy0 eth0 lo tunl0
root@slitaz:/home/tux# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation H61 Express Chipset Family LPC Controller [8086:1c5c] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
root@slitaz:/home/tux# lsmod
Module Size Used by Not tainted
ipv6 178458 20
snd_hda_codec_realtek 134559 1
i915 262075 2
i2c_algo_bit 3627 1 i915
drm_kms_helper 17504 1 i915
snd_hda_intel 16713 1
drm 118562 2 i915,drm_kms_helper
snd_hda_codec 45592 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 3811 1 snd_hda_codec
snd_pcm 42934 2 snd_hda_intel,snd_hda_codec
snd_page_alloc 4673 2 snd_hda_intel,snd_pcm
snd_timer 12073 1 snd_pcm
intel_agp 7912 1 i915
snd 33335 8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
intel_gtt 9087 3 i915,intel_agp
agpgart 17571 3 drm,intel_agp,intel_gtt
i2c_core 12294 4 i915,i2c_algo_bit,drm_kms_helper,drm
soundcore 3258 1 snd
wmi 5839 0
video 9495 1 i915
button 3286 1 i915
tux@slitaz:~$ dmesg | grep -i eth0
r8169 0000:02:00.0: eth0: RTL8168e/8111e at 0xf8024000, 44:8a:5b:4a:c7:f0, XID 0c200000 IRQ 17
r8169 0000:02:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
r8169 0000:02:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168e-2.fw (-2)
r8169 0000:02:00.0: eth0: link down
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:02:00.0: eth0: link down
r8169 0000:02:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
when i ping 8.8.8.8 or http://www.slitaz.org or 172.22.40.1, there is no reaction.
please help me !!!!!!