Plz read this thread : http://forums.gentoo.org/viewtopic-t-69 ... l3945.htmlgforum wrote:is it because i left mac801 or whatnot built-in, instead of as a module?

Plz read this thread : http://forums.gentoo.org/viewtopic-t-69 ... l3945.htmlgforum wrote:is it because i left mac801 or whatnot built-in, instead of as a module?

For you unknown hardware, you need to run this :gforum wrote:i tried the given ideas, and it said 'operation not supported', also only now i realize that when i do lspci, it says unknown device, on the network device part that should say intel 4965 or whatnot....
Code: Select all
# update-pciids

Code: Select all
# cd /etc/init.d
# ls -la
Code: Select all
# rmmod iwl4965
# modprobe iwl4965
# dmesg | tail
# ifconfig -a
# iwconfig


Code: Select all
eth1 Link encap:Ethernet HWaddr 00:13:A9:49:C0:45
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:139894 (136.6 Kb) TX bytes:26107 (25.4 Kb)
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)
wlan0 Link encap:Ethernet HWaddr 00:18:DE:77:91:FD
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wmaster0 Link encap:UNSPEC HWaddr 00-18-DE-77-91-FD-60-57-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code: Select all
/etc/init.d/net.wlan0 start
* Starting wlan0
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
* Wireless radio has been killed for interface wlan0
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface wlan0
* Starting wpa_supplicant on wlan0 ...
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
Could not set interface 'wlan0' UP
ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 4 value 0x0 -
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ...Code: Select all
cat /etc/conf.d/net
config_eth1=("dhcp")
dhcpcd_eth1="-t 10" # 10 second timeout
dhcp_eth1="release nodns nontp nonis"
modules=("wpa_supplicant")
config_wlan0=("dhcp")Code: Select all
cat /etc/wpa_supplicant/wpa_supplicant.conf
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="xxxx"
psk="xxxxxxxxx"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
priority=5
}

Code: Select all
# rmmod iwl3945
# modprobe iwl3945
# dmesg | tail
Are you sure that your switch is on physically on your laptop ?* Wireless radio has been killed for interface wlan0
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface wlan0

Code: Select all
# ifconfig wlan0 up
# ifconfig -a
Code: Select all
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"

The switch is definitely on. I can find other networks (my own doesn't broadcast the ssid), but I can't connect. I've run the same commands you've asked me to run here already, but here are the results:d2_racing wrote:Hi, can you try that :
Code: Select all
# rmmod iwl3945 # modprobe iwl3945 # dmesg | tailAre you sure that your switch is on physically on your laptop ?* Wireless radio has been killed for interface wlan0
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface wlan0
Double check your switch on the side or the front of your laptop.
Code: Select all
dmesg | tail
PM: Writing back config space on device 0000:06:00.0 at offset 1 (was 100002, writing 100006)
ACPI: PCI interrupt for device 0000:06:00.0 disabled
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:06:00.0 to 64
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy1: Selected rate control algorithm 'iwl-3945-rs'
ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 18 (level, low) -> IRQ 18Code: Select all
/etc/init.d/net.wlan0 status
* Caching service dependencies ... [ ok ]
* status: inactive
mini ~ # /etc/init.d/net.wlan0 restart
* Stopping wlan0
* Bringing down wlan0
* Shutting down wlan0 ... [ ok ]
* Stopping wpa_cli on wlan0 ... [ ok ]
* Stopping wpa_supplicant on wlan0 ... [ ok ]
* Starting wlan0
* Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 4 value 0x0 -
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ...
Code: Select all
# cat /etc/udev/rules.d/70-persistent-net.rules

Here's the output:d2_racing wrote:hi, can you post this plz :
Code: Select all
# cat /etc/udev/rules.d/70-persistent-net.rules
Code: Select all
# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:50:8d:b2:4e:4f", NAME="eth0"
# PCI device 0x8086:0x1092 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:a9:49:c0:45", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:de:77:91:fd", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Code: Select all
config_eth1=("dhcp")
dhcpcd_eth1="-t 10" # 10 second timeout
dhcp_eth1="release nodns nontp nonis"
modules=("wpa_supplicant")
config_wlan0=("dhcp")
wpa_supplicant_wlan0="-Dwext"Code: Select all
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="xxx"
psk="xxx"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
priority=5
}Code: Select all
eth1 Link encap:Ethernet HWaddr 00:13:A9:49:C0:45
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:205 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19473 (19.0 Kb) TX bytes:20428 (19.9 Kb)
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)
wlan0 Link encap:Ethernet HWaddr 00:18:DE:77:91:FD
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wmaster0 Link encap:UNSPEC HWaddr 00-18-DE-77-91-FD-70-E0-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)Code: Select all
lo no wireless extensions.
eth1 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
breakerfall wrote:Here's the output:d2_racing wrote:hi, can you post this plz :
Code: Select all
# cat /etc/udev/rules.d/70-persistent-net.rules
Just to be certain I haven't done anything wrong along the way, this is the process so far:Code: Select all
# PCI device 0x10de:0x0269 (forcedeth) SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:50:8d:b2:4e:4f", NAME="eth0" # PCI device 0x8086:0x1092 (e100) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:a9:49:c0:45", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x8086:0x4222 (iwl3945) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:de:77:91:fd", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Fully working system.
Alter kernel to include relevent wifi drivers (compiled in).
breakerfall wrote:(Not sure why I have eth1 instead of eth0...)
Code: Select all
# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:50:8d:b2:4e:4f", NAME="eth0"
# PCI device 0x8086:0x1092 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:a9:49:c0:45", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:de:77:91:fd", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"Code: Select all
# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:50:8d:b2:4e:4f", NAME="eth0"Code: Select all
config_eth1=("dhcp")
dhcpcd_eth0="-t 10" # 10 second timeout
dhcp_eth0="release nodns nontp nonis"
...That is perfectly «normal» (in fact I have that too and it doesn't prevent association). The reason why your wireless card doesn't seem to associate is that an encryption driver probably lacks from your kernel configuration. See [post=5162369]gforum's post[/post] as to what drivers to include.breakerfall wrote:During bootup, when wlan0 starts during boot I get the ioctl[SIOCSIWAUTH]: Operation not permitted warning.

Ah, I'll try compiling them as modules too.gforum wrote: stop right there...
you need mac80211 and cfg80211 compiled as a MODULE, that should fix it for you.
(read the description of the wifi 'stuffs' to find what is the mac and the cfg, you prob already got them enabled, but as built-in. somehow they dont like being built-in...)
cheers.