ibook G4 wireless and wired connection not working
I have a iBook G4 PPC that has Ubuntu 10.04 LTS on it. I had a hell of a time getting 8.04 to install from the CD, and then upgraded to 10.04 from there.
The forums that I have found have given me Terminal commands to use, but not much success. What information should I post here to make this easier for you to help me?
I would be happy with either the wired or wireless to work.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I don't have PPC hardware, and only set up a PPC system once, so I can only do very basic troubleshooting. Others may have more experience, but will probably also benefit from some additional system info. Remember that PPC is not an officially released build (since 7.04?).
What is the output of:
sudo /sbin/ifconfig -a
lsmod
lsusb
lspci
?
You'll need to truck the output to a text file, and then onto a working PC with internet, eg via a USB key.
Revision history for this message
|
#2 |
nathan@
eth0 Link encap:Ethernet HWaddr 00:14:51:21:c3:f4
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1200 (1.2 KB) TX bytes:1200 (1.2 KB)
pan0 Link encap:Ethernet HWaddr 66:5c:eb:b6:ab:3a
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:14:51:7f:ee:e8
inet addr:127.0.1.1 Bcast:127.0.255.255 Mask:255.255.0.0
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
nathan@
Module Size Used by
nls_iso8859_1 3557 1
nls_cp437 5223 1
vfat 11721 1
fat 58707 1 vfat
sg 32495 0
sd_mod 36556 2
crc_t10dif 1331 1 sd_mod
usb_storage 46878 1
binfmt_misc 8530 1
ppdev 7877 0
lp 9304 0
parport 39110 2 ppdev,lp
uinput 8693 2
ipv6 299899 10
cpufreq_stats 4178 0
snd_aoa_codec_tas 12436 2
snd_aoa_
sbp2 22505 0
snd_aoa 17240 2 snd_aoa_
apm_emu 1468 0
snd_aoa_i2sbus 20791 1
apm_emulation 7311 2 apm_emu
snd_pcm_oss 47872 0
rfcomm 43753 4
snd_mixer_oss 19382 1 snd_pcm_oss
snd_powermac 68343 0
snd_seq_dummy 1766 0
snd_pcm 87159 3 snd_aoa_
snd_seq_oss 36288 0
sco 10677 2
snd_seq_midi 6161 0
snd_rawmidi 24746 1 snd_seq_midi
bridge 58022 0
arc4 1345 2
stp 2244 1 bridge
snd_seq_midi_event 7367 2 snd_seq_
snd_seq 61897 6 snd_seq_
ecb 2495 2
bnep 12795 2
l2cap 37240 16 rfcomm,bnep
snd_timer 24531 2 snd_pcm,snd_seq
b43 196694 0
snd_seq_device 7524 5 snd_seq_
radeon 807934 2
joydev 11717 0
mac80211 243687 1 b43
btusb 13483 2
bluetooth 64147 9 rfcomm,
ttm 62726 1 radeon
snd 70676 17 snd_aoa_
ams 9413 0
cfg80211 152733 2 b43,mac80211
drm_kms_helper 31243 1 radeon
evdev 10257 22
appletouch 9973 0
input_polldev 3402 1 ams
rtc_generic 1391 0
pmac_zilog 18110 0
serial_core 23813 1 pmac_zilog
snd_aoa_soundbus 4916 2 snd_aoa_
uninorth_agp 8437 1
rfkill 20725 4 bluetooth,cfg80211
drm 194056 5 radeon,
agpgart 39983 3 ttm,uninorth_
soundcore 7534 1 snd
snd_page_alloc 7660 1 snd_pcm
usbhid 44254 0
hid 78748 1 usbhid
ohci1394 35584 0
ssb 50918 1 b43
sungem 32704 0
ieee1394 97330 2 sbp2,ohci1394
sungem_phy 12365 1 sungem
mmc_core 69357 1 ssb
windfarm_core 10420 0
nathan@
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1976:6025 Chipsbrand Microelectronics (HK) Co., Ltd.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 05ac:8207 Apple, Inc.
Bus 002 Device 003: ID 05ac:030b Apple, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nathan@
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc M11 NV [FireGL Mobility T2e] (rev 80)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81)
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev ff)
Revision history for this message
|
#3 |
Revision history for this message
|
#4 |
It looks like your ethernet is there, but is not configured for your network. Can you describe your local network configuration -- are you using a DHCP server? Is it mac filtered?
If you plug in the ethernet cable, what does this command spit out?
sudo /sbin/ifconfig -a
Revision history for this message
|
#5 |
my home network is a is a comcast cable modem connected to a d-link N-150 home router. the router settings are:
Router IP: 192.168.0.1
subnet mask: 255.255.255.0
device name: dlinkrouter
DHCP server is enabled with a IP range of 192.168.0.100 to 192.168.0.199
DCHO lease time is 10800 minutes
it is set to always broadcast
i don't think it is mac filtered
the output from the ifconfig command gives this:
nathan@
bash: sudo/sbin/ifconfig: No such file or directory
nathan@
[sudo] password for nathan:
eth0 Link encap:Ethernet HWaddr 00:14:51:21:c3:f4
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1200 (1.2 KB) TX bytes:1200 (1.2 KB)
pan0 Link encap:Ethernet HWaddr ca:0a:0f:24:77:de
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:14:51:7f:ee:e8
inet addr:127.0.1.1 Bcast:127.0.255.255 Mask:255.255.0.0
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
nathan@
Im worried that my router is not accepting a wired connection, because it won't connect to my desktop PC (which i have a wireless connection on) I will try to fix that connection in the meantime, this could all be a router problem.
Revision history for this message
|
#6 |
That was with the wire plugged in? You should have seen the word RUNNING against one of your adaptors, other than the loopback. This indicates that the wire is physically plugged in.
Revision history for this message
|
#7 |
Are you getting a link light on your router with the wire plugged in?
Revision history for this message
|
#8 |
yep, i have my ethernet cable pluged in between the iBook and the router. the router light is blinking, indicating that it sees the cable plugged in. when i unplug it from the iBook, that light on the router turns off.
Revision history for this message
|
#9 |
Ah, I made an error, you need to bring the eth0 device into the "up" state to get the RUNNING result - my bad.
Anyway, lets just cycle the device and see what happens
sudo /sbin/ifconfig eth0 up
sudo dhclient eth0
ping -c 4 192.168.0.1
ping -c 4 8.8.8.8
if that doesn't work, try:
sudo /sbin/ifconfig eth0 down
sudo /sbin/ifconfig eth0 up
sudo /sbin/ifconfig eth0 192.168.0.53
sudo /sbin/ifconfig eth0 netmask 255.255.255.0
sudo /sbin/route add default gw 192.168.0.1
ping -c 4 192.168.0.1
ping -c 4 8.8.8.8
see how that goes?
Revision history for this message
|
#10 |
The first set of commands you gave worked, so I tried rebooting the computer to see if it stuck. It didn't, so i put that set of commands back in, and I have a connection. I guess i need to set up the connetion in Network Connections for it to save, right?
Revision history for this message
|
#11 |
also, when i hover the moser cursor over the network indicator in the top right of the screen, it still says "networking disabled" how to i get that fixed?
Revision history for this message
|
#12 |
Note that "work" should have given you something like this:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=51 time=1.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=51 time=1.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=51 time=13.4 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=51 time=2.6 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 1234ms
rtt min/avg/max/mdev = 1.234/1.
Not:
"Network is unreachable"
or
PING 192.168.0.12 (192.168.0.12) 56(84) bytes of data.
--- 192.168.0.12 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms
-------
No it won't "stick" during reboots --That was just a test -- and I didn't set the DNS, so you won't be able to resolve hosts.
The test indicates that there is nothing wrong with your network device, but something is wrong with the way networkmanager is accessing/
If you select the network manager icon, then go to "edit connections->wired connection 1-> edit" you should ensure "connect automatically" is checked. Confirm that the "device mac address" has "eth0" at the end of it. Under IPv6, set "method" to Ignore, and then set IPv4 to Automatic(DHCP).
(Except for the IPv6 those should all be the default).
Now close the dialog and then from the icon again, select "Wired connection 1" -- this should bring up your wired card. The cable must be plugged in before selecting this option.
Revision history for this message
|
#13 |
yes, the command line you gave me had an output like the one you showed...
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=51 time=1.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=51 time=1.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=51 time=13.4 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=51 time=2.6 ms
in Network Connections, Wired, I selected wired connection 1.
Connect automatically is checked
the Wired tab has the ethernet MAC address which is: 00:14:51:21:c3:f4. I tried adding eth0 to the end of it, but it kept vanishing.
the 802.1x security tab
IPv4 setting tab
IPv6 settings tab
i pressed the apply button, closed the dialog box, then reopened the Network Connections dialog. all the settings are as you prescribed.
Revision history for this message
|
#14 |
if you run:
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
Then try the web, is it ok?
Revision history for this message
|
#15 |
@actionparsnip
the nameserver 8.... command didn't let me connect to the internet.
Revision history for this message
|
#16 |
Hi Nathan,
I think everything is working fine, just that the networking graphical interface is a bit confusing.
You should see, when you click the dropdown, something like this:
http://
Ensure (as described in the image), that Enable networking is checked.
Then this should bring up your network. Once you do that, repeat the ping commands like so
ping -c4 192.168.0.1
ping -c4 8.8.8.8
ping -c4 www.google.com
All of these should work.
Revision history for this message
|
#17 |
so when i click on the dropdown it has only one line, gray text "Networking disabled"
there is no other lines, so I can't enable networking.
the icon on the dropdown menu is a gray wifi signal meter with a red exclamation point over it.
is there a way for me to fix that?
Revision history for this message
|
#18 |
OK, thats interesting -- I did not realise that. That means that network-manger is clearly at fault.
Exactly what is going wrong here, I am unsure.
Does
cat /etc/NetworkMan
show
managed=true
or
managed=false
If it shows "false", then run
gksudo gedit /etc/NetworkMan
and then try restarting.
Other than that, I am running out of ideas on how to fix network manger, but it is possible to just set up a script that brings up your connection by hand, like we did earlier, and turn that into a clickable button.
Can you help with this problem?
Provide an answer of your own, or ask Nathan McLarty for more information if necessary.