You are not logged in.
I have problem to connect to internet using slitaz 4.0
I use Intel(R) PRO/100 VE Network Connection. I check this with win7
I have tried using DHCP, but it doesnt give eth0, when I give static, it gives eth0 but still cant connect
I have try modprobe pcnet_cs, nothing happenen
I also try /etc/init.d/network.sh restart, still cant connect
I find the driver on Intel website and it gives tar.gz file, so slitaz cant use it
Where I can get the driver?
I see that the default gateway in win 7 is 192.168.1.1, but in slitaz 192.168.0.1
I change it to 1.1, but then it cant find the route
Offline
Copy/paste output from these commands in your reply:
[c]lspci -nn[/c]
[c]ls /sys/class/net[/c]
[c]cat /etc/network.conf[/c]
Offline
lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770]
00:01.0 PCI bridge [0604]: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port [8086:2771]
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.2 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 3 [8086:27d4] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation N10/ICH7 Family SATA IDE Controller [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 01)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G98 [GeForce 8400 GS] [10de:06e4] (rev a1)
05:08.0 Ethernet controller [0200]: Intel Corporation N10/ICH 7 Family LAN Controller [8086:27dc] (rev 01)
ls /sys/class/net
dummy0
eth0
lo
cat /etc/network.conf
# /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="yes"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="no"
# Set IP address and netmask for a static IP.
IP="192.168.0.6"
NETMASK="255.255.255.0"
# Set route gateway for a static IP.
GATEWAY="192.168.0.1"
# Set DNS server for a static IP.
DNS_SERVER="192.168.0.1"
# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="no"
# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="wlan0"
WIFI_ESSID="any"
WIFI_MODE="managed"
WIFI_KEY=""
WIFI_KEY_TYPE="none"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
Offline
Have you tried to bring up the interface manually? ie. as root, run 'ifconfig eth0 up' command? What happens when you do this?
Offline
I try your command, but nothing happen. Still cant connect
Offline
Can you post the output from the command 'lsmod -v' please?
Also, not sure why you decided to do 'modprobe pcnet_cs'.....a Google search tells me that the driver for this card is e100. Worth trying to load this driver by running the command 'modprobe e100' and see whether that will detect the card. Check out the following link..
http://ubuntuforums.org/showthread.php?t=2052337
Offline
lsmod -v
Module Size Used by Tainted: G
parport_pc 16061 0
parport 20983 1 parport_pc
button 3602 0
snd_hda_codec_idt 36872 1
snd_hda_intel 15886 1
snd_hda_codec 45027 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 3808 1 snd_hda_codec
snd_pcm 43737 2 snd_hda_intel,snd_hda_codec
snd_timer 12515 1 snd_pcm
snd 33394 8 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 3357 1 snd
snd_page_alloc 4853 2 snd_hda_intel,snd_pcm
intel_agp 7908 0
intel_gtt 9214 1 intel_agp
agpgart 18221 2 intel_agp,intel_gtt
I modprobe pcnet_cs because I just try.
I have got e100 driver at intel site, but it is tar.gz file.
I modprobe e100
It says module e100 not found in module.dep
There is no e100 packages at pkgs.slitaz.org
Offline
the e100 is built in the kernel
tux@slitaz:~$ dmesg | grep eth0
e100 0000:02:08.0: eth0: addr 0xc0200000, irq 11, MAC addr 00:09:6b:fa:cd:9a
e100 0000:02:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
tux@slitaz:~$ lsmod |grep e100
tux@slitaz:~$
post the output of
dmesg | grep eth0
Offline
dmesg | grep eth0
e100 0000:05:08.0: eth0: addr 0x93000000, irq 20, MAC addr 00:16:76:b6:52:34
e100 0000:05:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
dmesg | grep e100
pci 0000:05:08.0: Firmware left e100 interrupts enabled; disabling
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100 0000:05:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
e100 0000:05:08.0: PME# disabled
e100 0000:05:08.0: eth0: addr 0x93000000, irq 20, MAC addr 00:16:76:b6:52:34
e100 0000:05:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
I use wireless adsl2 + modem router. I use the lan port. So, where is the problem?
Offline
post the output of
ifconfig
Offline
@handgun, let me get this right......you are saying 'I use wireless adsl2 + modem router. I use the lan port'. May be I am not understanding this correctly but can you confirm that you are connecting to the wireless modem router via your LAN (ethernet) port - ie. you have an ethernet cable connecting your laptop LAN port to a LAN port on the modem router?
Offline
ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:76:B6:52:34
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180 (180.0 B) TX bytes:1932 (1.8 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
(wireless adsl2 + modem router) is 1 machine. It has only 1 port for LAN. That port for my PC that use slitaz via USB
Offline
@handgun, I am sorry but I am still not clear as to how you are connecting to the router. If it is not a hassle perhaps a sketch showing which port is connected where would be useful. I am confused about the fact that you have mentioned a USB connection here. Do you mean to say that you are using a USB to Ethernet adaptor to connect to the router? This does not appear to be the case judging by the output of lspci command you have given above. Sorry about the confusion but a sketch would clarify your set up.
Offline
Yes, I can sketch. Tomorrow I will post because I dont have time today.
I only have time to explain with text today because of my time
Internet provider----> "wireless adsl2+modem router" ( 1 machine ) -------> 1 lan port, wireless point
Lan port for pc using ethernet cable
Wireless pnt for laptop
Now, i use pc. I use usb mean i boot slitaz using usb
Offline
OK, that makes it clear now.
I would check your router settings first. If you say you can connect with Windows then boot into Windows and using the web browser go to 192.168.1.1 Most routers can be connected with this address but if you cannot you would need to look up in the router manual to see what the default LAN address is set to. Once you get into the router management page make sure that the dhcp is enabled on the router. This is most likely the case but it is always possible that dhcp is turned off and that Windows is connecting via a static address.
Alternatively, you can set your Slitaz to static address of 192.168.1.2 and see whether you can connect to the router.
Offline
Go to router page is my problem for some months. I fill with admin and admin, but it asks me to fill again and again. I need to reboot the router to go to router page. I have tried it once and I can go to router page. Now, I cant go again... I will try, actually I am lazy to do this because i need to setup again.
But my laptop (wireless) can connect to internet automaticaly ( windows choose the ip adress ). Is it different?
Offline
Ok, I was under the impression that you were connecting Windows via ethernet - it appears that you are connecting wireless with Windows. If that is the case most likely dhcp is turned off on your router.
Before going any further, can you post the output of the command 'udhcpc' (as root)?
My suggestion is that you set up static ip address in /etc/network.conf. Set dhcp = no and set the static ip address to something like 192.168.1.2 (most likely the router is set to 192.168.1.1 - if not it is just bad luck!). Set the netmask to 255.255.255.0 and gateway address to 192.168.1.1 Save the config and restart eth0. If 192.168.1.2 does not work try setting it to 192.168.0.2 or 10.0.0.1.
If none of them work then there is no option but to reset the router to factory defaults and set up the static interface on Slitaz as per the manual and reconfigure adsl connection, turn dhcp on and set up your wireless interface with passwords etc.
Good luck!
Offline
Now, I can connect to the internet after I reboot the router and set DHCP enabled
Thank you very much, gdesilva! 
I will mark it resolved.
Offline
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]