View previous topic :: View next topic |
Author |
Message |
techqbert n00b
Joined: 23 May 2007 Posts: 14
|
Posted: Fri May 25, 2007 4:22 pm Post subject: help with airport |
|
|
I couldn't get any help on #gentoo-ppc or from google so I decided to post. I've followed the generic guide to getting some wifi with airport. I'm not quite sure if its worth anything, but 'ifconfig' returns only eth0 and lo. Nonetheless, I have my /etc/conf.d/net.
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=( "192.168.1.20 netmask 255.255.255.0 brd 192.168.1.255")
routes_eth0=( "default via 192.168.1.1" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dmadwifi"
# Set the mode - can be managed (default), ad-hoc or master
# Not all drivers support all modes
#mode_eth0="ad-hoc"
# Set the ESSID of the interface
# In managed mode, this forces the interface to try and connect to the
# specified ESSID and nothing else
#essid_eth0=""
# We use channel 3 if you don't specify one
#channel_eth0="6"
iwconfig_eth1="mode managed" |
I'm willing to entertain any suggestions. Thanks guys. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri May 25, 2007 5:55 pm Post subject: |
|
|
You didn't say if it was an airport or an airport extreme. What kind of network are you trying to connect to? Is the device driver loading? Does it mention anything in dmesg?
In either case using -Dmadwifi for wpa_supplicant is certainly wrong. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
techqbert n00b
Joined: 23 May 2007 Posts: 14
|
Posted: Fri May 25, 2007 6:18 pm Post subject: |
|
|
just airport. g3 ibook. unsecured network for now.
I'm not sure whether the device driver is loading or not.
dmesg
Code: | Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected Apple UniNorth chipset
agpgart: configuring for size idx: 8
PM: Adding info for No Bus:agpgart
agpgart: AGP aperture is 32M @ 0x0
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
pmac_zilog: i2c-modem detected, id: 1
ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Internal modem
PM: Adding info for No Bus:ttyS0
ttyS1 at MMIO 0x80013000 (irq = 50) is a Z85c30 ESCC - Serial port
PM: Adding info for No Bus:ttyS1
orinoco 0.15 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
airport 0.15 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
airport: Physical address 80030000
PM: Adding info for No Bus:timer
eth1: Hardware identity 0005:0001:0001:0002
eth1: Station identity 001f:0001:0008:0008
eth1: Firmware determined as Lucent/Agere 8.08
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:30:65:14:CF:41
eth1: Station name "HERMES I"
eth1: ready
airport: Card registered for interface eth1 |
|
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri May 25, 2007 6:40 pm Post subject: |
|
|
Well, it definitely is:
airport: Card registered for interface eth1
Since it's just an open network, did you try using iwconfig to set up the card?
# iwconfig eth1 essid "WHATEVER-YOUR-ESSID-IS"
Does it connect after this? Does dhcpcd work after this? _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
techqbert n00b
Joined: 23 May 2007 Posts: 14
|
Posted: Fri May 25, 2007 7:41 pm Post subject: |
|
|
My linksys router doesn't push me an IP after typing
Code: | # iwconfig eth1 essid "WHATEVER-YOUR-ESSID-IS" |
sadly.
i did some looking at dhcpd, excuse me if I'm wrong, it sounds like a dhcp server. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri May 25, 2007 7:55 pm Post subject: |
|
|
It won't. It's not supposed to. Does "iwconfig eth1" show that you've connected?
*dhcpcd* is not a dhcp server. *dhcpd* is. You must run a dhcp client (i.e. dhcpcd) after connecting if you're doing it manually as above. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
techqbert n00b
Joined: 23 May 2007 Posts: 14
|
Posted: Fri May 25, 2007 8:10 pm Post subject: |
|
|
dhcpcd worked great. thanks |
|
Back to top |
|
|
|