Results 1 to 10 of 33
Hi all,
I have the following problem:
Everything worked fine until I updated my Kernel (to the "latest"). Now I think this new version is a lot better for detecting ...
- 09-28-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 25
SIOCSIFFLAG error
Hi all,
I have the following problem:
Everything worked fine until I updated my Kernel (to the "latest"). Now I think this new version is a lot better for detecting wireless cards and stuff, however my connection was not working. So I tried a few things, but didn't manage to get it working.
I keep on getting the error:
SIOCSIFFLAG: No such file or directory
Determining IP for wlan0.....failed
Probably my configuration is screwed up, because I used another version of Kernel, and now changed,but in the old situation, I manually added my wireless card (using modprobe and things).
Does anyone have any possible solution for me?
Thanks!
Timo
- 10-01-2007 #2
More information is needed. Please post your distro, kernel, wireless card type and driver previously used.
Also post the results of this command:or if it's a USBCode:lspci
Sometimes when you upgrade to a newer kernel, modules have to be rebuilt. Or, there may be a newer driver that is now conflicting with the older driver.Code:lsusb
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-01-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 25
Information
Thanks!
Network controller: RaLink RT2561/RT61 802.11g PCI
It is a Linksys W54MPG v4.1
Fedora 7
Kernel 2.6.22.9
olf kernel: 2.6.21-1.3194.
Thanks again!
Timo
- 10-01-2007 #4
I still need the results of the lspci or lsusb commands. It will tell us what chipset is in the card. That is the most important piece of information.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-02-2007 #5Just Joined!
- Join Date
- Sep 2007
- Posts
- 25
Sorry
I only copied this part:
Network controller: RaLink RT2561/RT61 802.11g PCI
That is the information you need right? This is my wireless card.
Thanks!
Timo
- 10-02-2007 #6
Sorry, I thought that was the name on the outside of the card.

It looks like you need the RaLink driver. First, try this command:If you get something with a ra prefix, like ra0, that is your wireless. If you don't see anything, try this:Code:iwconfig
then try iwconfig again.Code:modprobe rt61
Here's some links to sites that I found concerning RaLink cards. If you can't get the driver to load, you may need to install the driver.
Linux install and configure DLink DWL g 520 - RT61 Wireless LAN PCI Card
RaLink RT2561/RT61 802.11g PCI - Ubuntu Forums
¹p*â¬ì§ÞªÑ ¥÷¦³**¤½¥q: Technology
Gleaming over these sites, it looks like you may not be able to use WPA encryption, only WEP. We can tackle that after you get the device running.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-03-2007 #7Just Joined!
- Join Date
- Sep 2007
- Posts
- 25
Yes, thanks, but that is basically the problem...
I used modprobe and things to get it working (under the old kernel version). Everything works great (although I do need to type in: ifconfig ra0 up, dhclient ra0 -d & everytime I reboot).
But now I update my Kernel and that new Kernel automatically detects my wireless card, but gives it a different name (wlan0) and even though I can configure that card, it doesn't connect, because it gives the SIOCSIFFLAG error and says it failed.
So I think the problem is that because I manually added the RT61 driver for the old Kernel, the new Kernel is confused because there is a manual install and an automatic install....
any idea?
- 10-03-2007 #8
It seems that you need to remove the faulty driver module. First you have to determine the name of the unwanted module:
Post the results, I'm looking for any module with the "rt" prefix. They need to be removed, and then blacklisted so that they won't automatically load.Code:lsmod
There is another How-To on this:
HOWTO: RT61 on Egdy Eft with WPA - Ubuntu Forums
It also explains how to setup the connection.Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-03-2007 #9Just Joined!
- Join Date
- Sep 2007
- Posts
- 25
Thanks, Output of lsmod:
This is all. I used some similar FAQ to get the connection running under my old Kernel, but the new one is the problemCode:Module Size Used by autofs4 32841 2 hidp 38209 2 rfcomm 57961 0 l2cap 41025 10 hidp,rfcomm bluetooth 73541 5 hidp,rfcomm,l2cap sunrpc 191305 1 nf_conntrack_netbios_ns 11713 0 nf_conntrack_ipv4 20817 2 xt_state 11201 2 nf_conntrack 77213 3 nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_state nfnetlink 15113 2 nf_conntrack_ipv4,nf_conntrack ipt_REJECT 13505 2 iptable_filter 11713 1 ip_tables 29097 1 iptable_filter xt_tcpudp 12097 10 ip6t_REJECT 14529 2 ip6table_filter 11585 1 ip6_tables 23305 1 ip6table_filter x_tables 29001 6 xt_state,ipt_REJECT,ip_tables,xt_tcpudp,ip6t_REJECT,ip6_tables fuse 55153 4 dm_multipath 28241 0 video 27985 0 sbs 28753 0 button 17633 0 dock 19753 0 battery 19657 0 ac 14537 0 ipv6 341801 23 ip6t_REJECT ivtv 139921 0 i2c_algo_bit 15045 1 ivtv cx2341x 20677 1 ivtv tveeprom 26449 1 ivtv videodev 36673 1 ivtv arc4 10689 2 v4l2_common 28481 3 ivtv,cx2341x,videodev ecb 12353 2 blkcipher 15301 1 ecb v4l1_compat 20548 2 ivtv,videodev rc80211_simple 12993 1 snd_intel8x0 45161 0 rt61pci 33473 0 snd_ac97_codec 121625 1 snd_intel8x0 rt2x00pci 19137 1 rt61pci rt2x00lib 29889 2 rt61pci,rt2x00pci ac97_bus 11329 1 snd_ac97_codec snd_seq_dummy 12613 0 rfkill 16465 1 rt2x00lib snd_seq_oss 40897 0 input_polldev 13905 1 rt2x00lib ns558 14145 0 gameport 25425 2 ns558 crc_itu_t 10817 1 rt2x00lib snd_seq_midi_event 16577 1 snd_seq_oss snd_mpu401 19049 1 snd_seq 63201 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_usb_audio 98881 2 mac80211 160081 4 rc80211_simple,rt61pci,rt2x00pci,rt2x00lib snd_mpu401_uart 17601 1 snd_mpu401 snd_usb_lib 26433 1 snd_usb_audio snd_pcm_oss 52673 0 shpchp 42845 0 snd_rawmidi 35137 2 snd_mpu401_uart,snd_usb_lib k8temp 14657 0 parport_pc 39273 0 cfg80211 18257 1 mac80211 snd_mixer_oss 25537 3 snd_pcm_oss snd_seq_device 17109 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi parport 48973 1 parport_pc hwmon 12105 1 k8temp eeprom_93cx6 10945 1 rt61pci forcedeth 57417 0 snd_pcm 93257 4 snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm_oss snd_timer 32585 2 snd_seq,snd_pcm snd_hwdep 19145 1 snd_usb_audio snd 71785 16 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_mpu401,snd_seq,snd_usb_audio,snd_mpu401_uart,snd_pcm_oss,snd_rawmidi,snd_mixer_oss,snd_seq_device,snd_pcm,snd_timer,snd_hwdep snd_page_alloc 19665 2 snd_intel8x0,snd_pcm soundcore 17249 3 snd i2c_nforce2 14785 0 i2c_core 35777 4 ivtv,i2c_algo_bit,tveeprom,i2c_nforce2 sr_mod 26853 0 cdrom 44009 1 sr_mod floppy 71849 0 sg 45673 0 dm_snapshot 25993 0 dm_zero 10817 0 dm_mirror 30785 0 dm_mod 68913 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror pata_amd 23493 0 ata_generic 17221 0 sata_nv 30149 4 libata 135665 3 pata_amd,ata_generic,sata_nv sd_mod 37441 6 scsi_mod 168825 4 sr_mod,sg,libata,sd_mod ext3 141905 2 jbd 73009 1 ext3 mbcache 18249 1 ext3 ehci_hcd 42957 0 ohci_hcd 30405 0 uhci_hcd 34401 0

I now installed both Kernels such that I can switch, one with the working connection, one with the connection that needs to work
Hopefully the lsmod is of any use!
- 10-03-2007 #10
Following the last link that I posted, it looks like the rt61pci is the bad one.
I gotta go to work now, I'll get back to 'ya later.Paul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote
