Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wirless problem ipw2200 doesnt load and no net.eth1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Wed Jan 18, 2006 6:31 pm    Post subject: wirless problem ipw2200 doesnt load and no net.eth1 Reply with quote

Okay i had a search through the forums but nothing quite helped my problem.
i have a samsung x20 xvm 1600ii the wireless card is ipw2200, and i am using wpa_supplicant.
when i type
Code:
modprobe ipw2200
i get this
Code:
FATAL: Error inserting ipw2200 (/lib/modules/2.6.12/net/wireless/ipw2200.ko): Unknown symbol in module, or unknown parameter (see dmesg)

but i know that it was working before i rebooted earlier on, when i typed
Code:
iwconfig
i got and output of lo and eth0 no wireless extension, and eth1 which had some settings. Now when i
Code:
iwconfig
i only get lo and eth0
i dont seem to have a /etc/init.d/net.eth1 file even before i rebooted
i noticed that when i was booting it said ipw2200 failed to load which i think is the reason why i dont get an ouput for iwconfig of eth1 anymore. my wpa_supplicant conf is here

Code:
# Die folgende Zeile nicht ändern, sonst wird nichts funktionieren
ctrl_interface=/var/run/wpa_supplicant

# Sicherstellen, dass nur root die WPA Konfiguration lesen kann
ctrl_interface_group=0

# wpa_supplicant soll sich um scannen und AP Auswahl kümmern
ap_scan=1

# Nur WPA-PSK wird verwendet. Jede gültige Chiffre-Kombination wird
# akzeptiert
network={
   ssid="default"
   proto=WPA
   key_mgmt=WPA-PSK
   pairwise=CCMP TKIP
   group=CCMP TKIP WEP104 WEP40
   psk=hahahaha[/bug]
   priority=2
}

(sorry for the german)
my net.conf is here
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

config_eth0=( "dhcp" )
dhcpcd_eth0="-t 10"

# wpa_supplicant gegenüber wireless-tools bevorzugen
modules=( "wpa_supplicant" )

# Es ist wichtig, dass wir wpa_supplicant mitteilen welcher Treiber
# verwendet werden soll, da es nicht sehr gut raten kann.
wpa_supplicant_eth1="-ipw2200"


My aim is too let eth0(which is my ethernet card) try to connect to my router first if that fails i want my eth1 to connect? is there a possibility to do that?
Tane
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
twenty-three
n00b
n00b


Joined: 02 Dec 2005
Posts: 13
Location: Germany/Berlin

PostPosted: Thu Jan 19, 2006 7:36 am    Post subject: Reply with quote

think i had the same problem some months ago...

have you tried to uninstall all and reinstall (recompile) it? think this worked..
or use rmmod and make clean before you start to recompile it if you dont use the ebuilds...
_________________
Saying that Java is good because it works on all OSs is like saying that anal sex is good because it works on all genders...
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Thu Jan 19, 2006 9:04 am    Post subject: Reply with quote

How would uninstall and reinstall help i just emerged all of that yesterday? But i will give it a try.
Thx for the reply anyway
tane
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5712
Location: Removed by Neddy

PostPosted: Thu Jan 19, 2006 12:35 pm    Post subject: Reply with quote

Sounds like your kernel was compiled against a different version of GCC as the module was

Try recompiling the kernel then re-emerging the driver


As to the lack of /etc/init.d/net.eth1 GEntoo only provides net.lo and net.eth0

All net.eth0 is, is a symlink to net.lo (since they use the same code), so to get other devices available for init just symlink

ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Thu Jan 19, 2006 5:15 pm    Post subject: Reply with quote

What do you mean now i am really confused?? What is wrong can you please explain a bit more detail, since i really dont want to do sth i am not 100% sure about, i would like to understand the problem in detail first?? Sorry but could you please explain a bit more??
Tane
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5712
Location: Removed by Neddy

PostPosted: Thu Jan 19, 2006 8:19 pm    Post subject: Reply with quote

some time ago you would of compiled your kernel
...
Some time later there is a GCC update
YOu go and compile the wireless driver with GCC but the kernel complains about it due to the different versions of GCC used to compile different parts of the kernel (stock tree and additional module). I alway get that problem with the nvidia drivers.


you follow the linking of net.lo though dont you?
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Thu Jan 19, 2006 8:40 pm    Post subject: Reply with quote

Well i created that link that worked fine, then i recompiled the kernel and also did
Code:
emerege ipw2200
, but it still doesnt load the modules on boot up and when i do
Code:
 modprobe ipw2200
it still gives me the same error, also on boot up it doesnt try to connect with eth1 just with eth0 is that due to the fact that ipw2200 doesnt load or something else, another thing i was wondering about is how does net.eth1 know how to use ipw2200
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Sat Jan 21, 2006 2:26 am    Post subject: Reply with quote

OKay i solved by using the 2.6.15 kernel and building the drivers into the kernel that worked for me, but when i try to connect with eth1(the wireless) it still tells me eth1 doesnt exist but net and wpa_supplicant conf havent changed at all? the link is in /etc/init.d i created it by doing
Code:
ln -s net.lo /etc/init.d/net.eth1

Tane
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5712
Location: Removed by Neddy

PostPosted: Sat Jan 21, 2006 9:19 am    Post subject: Reply with quote

right good to hear abt the driver

How linux works with network cards is partly to do with how the drivers name them.

I have a wirreless card that when it comes up advertises itself as "ra#" BUT the newer driver now calls it eth#

IF you had 100 NIC where the drivers all use eth# convention, the first one associated is called eth0 and the last eth100


SO the first question is: DO you have any other net cards connected?
Are you sue it is called eth1


if you do a quick


[/b]iwconfig[b]

it will list what NIC are wireless
Code:

Fluid jrb # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

ra0       RT2500 Wireless  ESSID:"wir3l3ss"
          Mode:Managed  Frequency=2.437 GHz  Access Point: ##:##:##:##:##:##
          Bit Rate:48 Mb/s
          RTS thr=2312 B   Fragment thr=2312 B
          Encryption key:####-####-##   Security mode:open
          Link Quality=44/100  Signal level=-66 dBm  Noise level:-193 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Sat Jan 21, 2006 2:53 pm    Post subject: Reply with quote

Well before i did the kernel recompile, it was called eth1, now it loads on boot up but when i do
Code:
iwconifg
i just get lo and my eth0 which is my ethernet card.

EDIT:
maybe you need to know i build the ipw2200 and ieee80211 into the kernel not as modules in case that is important
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
tane_stelzer
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 263
Location: Edinburgh, Scotland and Kempen, Germany

PostPosted: Mon Jan 23, 2006 11:37 am    Post subject: Reply with quote

Okay , i figured out that there seems to be some problem with udev and baselayout. That was before i ahd to do a clean install. I did sth wrong with etc-update which wasnt a good idea anyway.
Now i use kernel 2.6.15, have udev-070 and i cant remember my baselayout. i dont use the ipw2200 modules from the kernel they didnt work for me. i did
Code:
emerge ipw2200 ipe2200-firmware

Code:
modprobe ipw2200

and also added ipw2200 to /etc/modules.autoload.d/kernel-2.6 <----- Not sure if that is teh right file but sth like that
That loads the modules alright at start up. Now i just seem to have a problem with my configuration and dhcp which i haven't sat down to solve yet, but once i figured that out i will post that too
Tane
_________________
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum