SliTaz SliTaz Forum

You are not logged in.

#1 2012-09-22 07:54:51

jjk
Member
Registered: 2012-09-22
Posts: 82

network wireless and wired

i recently installed slitaz on my old hp compaq laptop.

i had ubuntu before it. At first i had a well working ethernet connection. but no wifi, so i googled a bit and installed the wifi drivers using "tazpkg get-install get-wifi-firmware" i rebooted and i still didnt have wireless connection, so i just edited the config file (probably messed it all up). and now i also dont have ethernet connection any more. if you need more information to fix this, ill be happy to give it. please keep in mind that im not very experienced with linux, and not at all with slitaz.

thx in advance

Offline

#2 2012-09-22 08:53:11

Adel
Member
Registered: 2012-09-18
Posts: 28

Re: network wireless and wired

well you can edit the file in /etc/network.conf manually to enable DHCP and disable static configuration, or you can go to the slitaz panel(under system tools), network tab, select eth0(or whatever it's called) and press the activate dhcp button and restart

this might just work

and just in case it doesn't do you happen to remember what you have changed in the static configuration?

Offline

#3 2012-09-22 11:20:54

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: network wireless and wired

i did what you said, bit better but still no network

this is the changes file (which tazpanel gave me)

--- /etc/network.conf

+++ /etc/network.conf

@@ -14,18 +14,18 @@

STATIC="no"

# Set IP address and netmask for a static IP.

-IP="192.168.0.6"

+IP=""

NETMASK="255.255.255.0"

# Set route gateway for a static IP.

-GATEWAY="192.168.0.1"

+GATEWAY="192.168.2.1"

# Set DNS server for a static IP.

-DNS_SERVER="192.168.0.1"

+DNS_SERVER="192.168.2.1"

# Wifi connection.

# Enable/disable wireless connection at boot time.

-WIFI="no"

+WIFI="yes"

# Wifi interface (iwconfig) and ESSID.

WIFI_INTERFACE="wlan0"

@@ -35,4 +35,4 @@

WIFI_KEY_TYPE="none"

WPA_DRIVER=""

WIFI_CHANNEL=""

-WIFI_IWCONFIG_ARGS=""

+WIFI_IWCONFIG_ARGS=""

__________________________________________

- is default

+ is what i entered

hope you can use this...

Offline

#4 2012-09-22 15:54:00

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: network wireless and wired

@jjk

Slitaz only supports one (1) network adapter.Either wired or wireless.

Default slitaz setup is wired (eth0):

http://hg.slitaz.org/slitaz-boot-scripts/raw-file/3dd56819a891/etc/network.conf

When you try to use wireless it changes the configuration,wired won't work until you reconfigure.

INTERFACE=eth0 assumes you have either (1) wired network adapter in the computer or if you have (2+) ethernet adapters the ethernet cable is connected to the adapter designated eth0

To reset to wired (eth0)

Open terminal,su,password: root

leafpad /etc/network.conf

Match these configs:

INTERFACE="eth0"

WIFI="no"

DHCP="yes"

STATIC="no"

Save and exit leafpad.

Go back to terminal:

/etc/init.d/network.sh restart

Offline

#5 2012-09-22 16:20:02

Adel
Member
Registered: 2012-09-18
Posts: 28

Re: network wireless and wired

seems you are correct mojo, got anyway I can configure my wlan without disconnecting my ethernet?

Offline

#6 2012-09-22 16:32:25

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: network wireless and wired

Add commands to /etc/init.d/local.sh to bring up a 2nd adapter is part of ICS Setup:

http://forum.slitaz.org/topic/internet-connection-sharing/page/2

Offline

#7 2012-09-24 14:37:33

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: network wireless and wired

thx mojo for the clear discription, ive got my wired internet working now smile

but apparently ill have to choose between wired and wireless, if thats the case id rather choose for wireless, can you explain me (as simple as you did before) how i get wireless working on my laptop.

thx in advance

Offline

#8 2012-09-24 15:21:56

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: network wireless and wired

Open terminal,su,password: root

Backup the ethernet configuration:

[c]cp /etc/network.conf /home/tux/ethernet.conf[/c]

To connect to ethernet without reconfiguring:

[c]/etc/init.d/network.sh restart /home/tux/ethernet.conf[/c]

The wireless chipset must be identified to install the correct firmware and load the proper driver.

Post the output to identify your wireless chipset:

Internal or PC Card wireless adapter

[c]lspci -nn[/c]

USB wireless adapter

[c]lsusb[/c]

Offline

#9 2012-09-24 16:05:34

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: network wireless and wired

this is my network card info, obtained via lspci

02:04.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)

i guess this is what you need.

Offline

#10 2012-09-24 16:32:17

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: network wireless and wired

Open terminal,su,password: root

Download/Install Firmware

[c]wget http://people.slitaz.org/~mojo/stuff/ipw2200-firmware-3.1.tazpkg[/c]

Open 2nd terminal to monitor firmware/module load:

[c]tail -f /var/log/messages[/c]

Load module in first terminal:

[c]modprobe -r ipw2200[/c]

[c]modprobe ipw2200[/c]

Applications=>System Tools=>Wifi configuration

Password: root , click OK button

Dbl click WAP to connect, or enter WPA Password: click OK if secure to connect.

If you have problems post any errors related to wireless in the 2nd terminal.

Offline

#11 2012-09-24 17:03:21

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: network wireless and wired

still no wifi...

dont see any clear networks too, wifibox only says:

essid name|quality|encryption|status

any             |N/A     |none         |-

Errors in 2nd terminal:

Sep 24 18:58:54 (none) user.info kernel: ipw2200 0000:02:04.0: PCI INT A disabled

Sep 24 18:58:57 (none) user.info kernel: lib80211: common routines for IEEE802.11 drivers

Sep 24 18:58:57 (none) user.debug kernel: lib80211_crypt: registered algorithm 'NULL'

Sep 24 18:58:58 (none) user.info kernel: cfg80211: Calling CRDA to update world regulatory domain

Sep 24 18:58:58 (none) user.info kernel: libipw: 802.11 data/management/control stack, git-1.1.13

Sep 24 18:58:58 (none) user.info kernel: libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>

Sep 24 18:58:58 (none) user.info kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq

Sep 24 18:58:58 (none) user.info kernel: ipw2200: Copyright(c) 2003-2006 Intel Corporation

Sep 24 18:58:58 (none) user.info kernel: ipw2200 0000:02:04.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21

Sep 24 18:58:58 (none) user.info kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

Sep 24 18:58:58 (none) user.warn kernel: ipw2200: Radio Frequency Kill Switch is On:

Sep 24 18:58:58 (none) user.warn kernel: Kill switch must be turned off for wireless networking to work.

Sep 24 18:58:58 (none) user.info kernel: ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)

__________________________________________________

btw: i followed another tutorial at doc.slitaz.org already

installed ipw2200 firmware and get-wifi-firmware before yours...

Offline

#12 2012-09-24 17:25:51

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: network wireless and wired

This is a problem:

Sep 24 18:58:58 (none) user.warn kernel: ipw2200: Radio Frequency Kill Switch is On:

Sep 24 18:58:58 (none) user.warn kernel: Kill switch must be turned off for wireless networking to work.

Find the wireless  switch,most laptops have a keyboard or other type of mechanical switch.

My dell laptop has a keyboard switch that turns wireless on/off.

There may also be a wifi setting in the laptops bios which you could change.

Offline

#13 2012-09-24 18:42:23

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: network wireless and wired

thx this worked,

much thx, this was very helpful smile

for other users with the same problem, here is the solution:

1. dont mess with the network file!

2. download the firmware for your network card:

first way:

# tazhw detect-pci --get-firmware

# /etc/init.d/network.sh restart

second way:

find your network card info using: lspci -nn

download the firmware for your device and install it

for some network cards also install get-wifi-firmware package

more info http://doc.slitaz.org/en:guides:wifi-easy

(3. do modprobe for your firmware, dont know for sure if this is necesary for it to work, see above post for details about this)

4. check network switch smile

5. open wifibox Applications=>System Tools=>Wifi configuration

6. connect to your network

to switch between wired and wireless, either edit your network config file (wifi=no) or backup the wired one and run network.sh with this config file (more info above posts)

i hope this will fix the problem for you as well as it did for me

much thx mojo!

Offline

#14 2015-02-17 19:49:06

bat
Member
Registered: 2014-09-29
Posts: 8

Re: network wireless and wired

Great, the advice on here worked for me, thanks!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 9 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]