You are not logged in.
Pages: 1
I am new to Slitaz, and I've successfully installed it on my old ASUS M3000NP laptop. One problem, I can't seem to get the internet working, and I've tried going through http://doc.slitaz.org/en:handbook:networkconf
Both wired and wireless aren't responding.
Here is some info:
[c]
root@sid-net:/home/sid# tazhw detect-pci
Detected PCI devices Kernel modules
================================================================================
> Module in use: intel_agp
> Module in use: i915
> Module in use: snd_intel8x0
> Module in use: snd_intel8x0m
> Module in use: ipw2200
> Module in use: yenta_socket
================================================================================
[/c]
[c]
root@sid-net:/home/sid# dmesg | grep -i eth0
e100 0000:01:08.0: eth0: addr 0xfe8fe000, irq 20, MAC addr 00:11:2f:16:54:28
[/c]
[c]
root@sid-net:/home/sid# lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
01:05.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev b8)
01:05.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C551 IEEE 1394 Controller
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VM (MOB) Ethernet Controller (rev 83)
[/c]
[c]
root@sid-net:/home/sid# /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
wlan0 is not a wifi interface, changing it.
Configuring ...lo no wireless extensions.
eth0 no wireless extensions.
dummy0 no wireless extensions.
[ OK ]
Starting udhcpc client on: ...
udhcpc: SIOCGIFINDEX: No such device
[/c]
Offline
Slitaz networking script allows setup of only one network adapter.
The default configuration of /etc/network.conf should setup wired ethernet adapter eth0 with dhcp assigned i.p. address.
http://hg.slitaz.org/slitaz-boot-scripts/file/5a38b2dd68a6/etc/network.conf
Enabling the wifi will require installing the correct firmware in addition to configuring /etc/network.conf.
Firmware download:
http://people.slitaz.org/~mojo/stuff/ipw2200-firmware-3.1.tazpkg
[c]tazpkg install ipw2200-firmware-3.1.tazpkg[/c]
Offline
Thanks Mojo. I thought the default /etc/network.conf file would have been fine, but I guess I was wrong.
Offline
Hi Mojo, I have seen some of your posts that explain how to share the internet connection through eth1 and eth0, but I have come across a few difficulties. I am new to slitaz so progress has been a little stop start.
Here is what I am currently working on: I am looking to set up a webpage that will be stored on the computer's hard drive, and that people can access it with their smart devices by connecting remotely to the computer and by typing in the IP address/ domain name i.e. no need for internet connection. This has been achieved and is working well (eth1 is all configured).
However, I now want to configure the settings to allow eth0 and eth1 to run at the same time but have run into some problems.
I currently don't have iptables packages in slitaz. What is the best method to install them on my machine as I dont have an internet connection. I have the file saved on a USB but unsure where to save it?
I have configured the lighttpd, dhcpd server to eth1. If i change configuration to get eth0 to work, will the other settings be affected?
When i configure udhcpd I assume i configure in the same way that I have configured the dhcpd, i.e. enter the same configuration details for eth1?
If any one can offer advice that would be much appreciated. Thanks.
Offline
@Rus84
http://forum.slitaz.org/topic/internet-connection-sharing/page/2
You don't need iptables because there is no internet connected to eth0 that you want to share with users connected to eth1.
The first interface is configured in [c]/etc/network.conf[/c]
The second interface:
# leafpad /etc/init.d/local.sh
Add below echo "Starting local startup commands... "
#configure interface alias connected to LAN
[c]ifconfig eth1 192.168.0.1 up[/c]
If eth0 is the same as eth1 try adding it to /etc/udhcpcd.conf interfaces
Run only one dhcpcd server on the same subnet.
For more help I need to know the configuration of eth1 and what eth0 is connecting to.
Install tazpkgs on [c]computer b[/c] running slitaz without internet:
Copy tazpkgs to flashdrive on [c]computer a[/c] with internet.
Mount the flashdrive with the tazpkgs on [c]computer b[/c].
[c]tazpkg install /path/to/tazpkg[/c]
or in pcmanfm
Right click the tazpkg,chose TazPkg Manager,enter root,ok,click install button.
Offline
I had previously configured eth1 as:
DHCP= no, static= yes ip= 192.168.0.4 gateway= "" DNS server= ""
Upon typing ifconfig, the settings for eth0 are:
inet add: 192.168.1.51 broadcast: 192.168.1.255 mask: 255.255.255.0
The settings for the dhcpd 4.2.2 are:
subnet 192.168.0.0 netmask= 255.255.255.0 interface= eth1 range= 192.168.0.10 to 192.168.0.250 option routers= 192.168.0.4
I hope this helps. Thanks for your help. R
Offline
Thanks for your help mojo. I have configured the network and init.d/local.sh but just slightly confused with the configuration of the DCHPD server udhcpd. If it easier to send a copy of the configuration files/ text I can do that. Cheers.
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]