Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
airport extreme - powerbook g4 aluminum
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
daemondeitie
n00b
n00b


Joined: 22 Feb 2007
Posts: 4

PostPosted: Thu Feb 22, 2007 3:02 am    Post subject: airport extreme - powerbook g4 aluminum Reply with quote

hey ya'll

i've taken on the brutal task of learning installing Linux (Gentoo style) on my ppc over the last week. this is my very first Linux install and i must say it's a very eduMUhcational experience. but after endless hours of hit and miss experments - it's becoming a bit tiresome. my biggest problem is having to sit in one area if i want an internet connection. if i had wireless going i wouldn't have to reboot into OS X everytime i needed to research something.

so here is some info on what i have so far. note that eth1 does try to connect to other wireless connections (around my building) when they are available but doesn't actually connect because i don't have the wep keys for those broadcasts.

my /etc/conf.d/net file has the wep key:

modules=( "iwconfig" )
key_Deitie="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx enc restricted"

my mac address is 00:11:24:60:cf:3d and as you can see (below) softmac does try to authenticate 00:11:24:60:cf:3d but it fails.

some stuff from the console:

# lspci -n | grep 14e4:43
0001:10:12.0 0280: 14e4:4320 (rev 03)

#iwlist eth1 scan
Cell 01 - Address: 00:11:24:60:CF:3D
ESSID:"Deitie"
Protocol:IEEE 802.11g
Mode:Master
Channel:1
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=100/100 Signal level=-57 dBm Noise level=-55 dBm
Extra: Last beacon: 451ms ago

# iwconfig eth1 channel 1
# iwconfig eth1 key XXXX-XXXX-XX restricted
# iwconfig eth1 essid "Deitie"
# /etc/init.d/net.eth1 start

* Starting eth1
* Configuring wireless network for eth1
* Couldn't associate with any access points on eth1
* Failed to configure wireless for eth1

# iwconfig
eth1 IEEE 802.11b/g ESSID:"Deitie" Nickname:"Deitie"
Mode:Managed Frequency=2.412 GHz Access Point: 00:11:24:60:CF:3D
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:XXXX-XXXX-XX Security mode:restricted
Link Quality=0/100 Signal level=-256 dBm Noise level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

# dmesg -c
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18 02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: 30-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Queueing Authentication Request to 00:18:39:87:ba:99
SoftMAC: Sent Authentication Request to 00:18:39:87:ba:99.
SoftMAC: Already requested authentication, waiting...
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Already associating or associated to 00:18:39:87:ba:99
SoftMAC: Sent Authentication Request to 00:18:39:87:ba:99.
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1
bcm43xx: set security called, .level = 1, .enabled = 1, .encrypt = 1, .auth_mode = 1
SoftMAC: Canceling existing associate request!
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Queueing Authentication Request to 00:11:24:60:cf:3d
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:11:24:60:cf:3d.
SoftMAC: Scanning finished
SoftMAC: Already requested authentication, waiting...
SoftMAC: Already requested authentication, waiting...
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: DMA-32 0x0200 (RX) max used slots: 1/64
bcm43xx: DMA-32 0x02A0 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0220 (TX) max used slots: 13/512
bcm43xx: DMA-32 0x0200 (TX) max used slots: 0/512

any help would be greatly appreciated. i'll even except a snickers bar if anyone can spare one ;)

thanks :)
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Thu Feb 22, 2007 8:12 am    Post subject: Reply with quote

mhh.. what kind of encryption do you use? That key looks a bit short for 128 bit WEP.

else I suggest you to use wpa_supplicant (and install dhcpcd if you do not already have):

Code:

$ emerge wpa_supplicant dhcpcd --noreplace


/etc/conf.d/net wrote:
config_eth0=( "dhcp" )

config_eth1=( "dhcp" )
modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"


/etc/wpa_supplicant/wpa_supplicant.conf wrote:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
ssid="mops"
key_mgmt=NONE
priority=1
}

network={
ssid="Oecher WLAN Zugang 1555"
key_mgmt=NONE
priority=3
}

network={
ssid="T-Mobile_T-Com"
key_mgmt=NONE
priority=1
}

network={
ssid="together"
key_mgmt=NONE
wep_key0=5G30F89240DBEC2F1F45678E75
wep_tx_keyidx=0
priority=2
}


( keys are made different ;-) )

make sure you have a symlink from /etc/init.d/net.lo so /etc/init.d/net.eth1:

Code:
# ls /etc/init.d/net.eth1 -l
lrwxrwxrwx 1 root root 6 2007-02-05 20:45 /etc/init.d/net.eth1 -> net.lo
#


if it does not exist, then create it:

Code:

# cd /etc/init.d/
# ln -sf net.lo net.eth1
#



then restart eth1:

Code:

# /etc/init.d/net.eth1 restart
 * Unmounting network filesystems ...                                                                             [ ok ]
 * Stopping eth1
 *   Bringing down eth1
 *     Stopping dhcpcd on eth1 ...                                                                                [ ok ]
 *     Shutting down eth1 ...                                                                                     [ ok ]
 *     Stopping wpa_cli on eth1 ...                                                                               [ ok ]
 *     Stopping wpa_supplicant on eth1 ...                                                                        [ ok ]
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...                                                                          [ ok ]
 *   Starting wpa_cli on eth1 ...                                                                                 [ ok ]
 *     Backgrounding ...
 * WARNING:  netmount is scheduled to start when net.eth1 has started.
 * WARNING:  ntp-client is scheduled to start when net.eth1 has started.
#


and watch your log:

/var/log/messages wrote:
Feb 22 08:05:25 powerbook ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 22 08:05:26 powerbook SoftMAC: Open Authentication completed with 00:09:5b:74:7f:5b
Feb 22 08:05:26 powerbook ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Feb 22 08:05:26 powerbook wpa_cli: interface eth1 CONNECTED
Feb 22 08:05:29 powerbook dhcpcd[13798]: MAC address = 00:0d:93:7e:54:6f
Feb 22 08:05:29 powerbook dhcpcd[13798]: verified 192.168.0.51 address is not in use
Feb 22 08:05:29 powerbook dhcpcd[13798]: your IP address = 192.168.0.51
Feb 22 08:05:37 powerbook eth1: no IPv6 routers present


regards,

-corsair

P.S.: here you can read it in full detail: Gentoo Network Configuration
Back to top
View user's profile Send private message
daemondeitie
n00b
n00b


Joined: 22 Feb 2007
Posts: 4

PostPosted: Thu Feb 22, 2007 10:01 pm    Post subject: Reply with quote

corsair wrote:
mhh.. what kind of encryption do you use? That key looks a bit short for 128 bit WEP.



that's the the HEX Equivalent password.

i was considering using WPA here is the thing: i can't log in even if i turn encryption off. so it seems it must be something else. i'm going to try WPA today and get back to you.

thanks :)
Back to top
View user's profile Send private message
daemondeitie
n00b
n00b


Joined: 22 Feb 2007
Posts: 4

PostPosted: Fri Feb 23, 2007 12:43 am    Post subject: Reply with quote

when i try to emerge net-wireless/wpa_supplicant-0.5.7 i get this:

!!! ERROR: net-wireless/wpa_supplicant-0.5.7 failed.
Call stack:
ebuild.sh, line 1630: Called dyn_setup
ebuild.sh, line 702: Called qa_call 'pkg_setup'
ebuild.sh, line 38: Called pkg_setup
wpa_supplicant-0.5.7.ebuild, line 39: Called die

!!! rebuild >=x11-libs/qt-4.2.2 with the qt3support USE flag

i'm not sure of how to rebuild x11-libs/qt-4.2.2 or what this means exactly 8O
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Feb 23, 2007 3:02 am    Post subject: Reply with quote

Re-emerge the package qt with the qt3support USE flag enabled.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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