View previous topic :: View next topic |
Author |
Message |
jonifili n00b
Joined: 16 Nov 2011 Posts: 2
|
Posted: Wed Nov 16, 2011 5:20 pm Post subject: Network card install problem |
|
|
Hi,
I'm (trying) to install Gentoo on a iMAC 400mhz PPC G3 with the minimal CD, and got stuck on the network part.
Can't find the rigth network card module.
When type "# ls /lib/modules/`uname -r`/kernel/drivers/net" i get and error.
When type "# ls /lib/modules/`uname r`/kernel/drivers/net" I get a list, but wich is wich? and do I make the modprobe command to work.
Thanks, and I apolagise, I'm a newbie at this.
JF |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Wed Nov 16, 2011 8:03 pm Post subject: |
|
|
jonifili,
Welcome to Gentoo.
I've only ever done one PPC install but networking should be fairly arch independent.
Boot the liveCD and do You should get a lot of output including something like
Code: | 03:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
Subsystem: ASUSTeK Computer Inc. Device 831c
Kernel driver in use: ATL1E
Kernel modules: atl1e | For my system, it tells that I need the ATL1E driver and its modprobe name is atl1e.
Your result will be different but it will appy to your network interface.
Now go back to your list command, if your module is listed, your kernel is in good shape. Your network card is built as a module.
If your network card is not listed, there are two reasons.
1) it was made as a part of the kernel file because it was configured as <*> Thats fine, it will still work
2) Its not made at all, in which case you need to fix your kernel.
On an iMAC 400mhz PPC G3, if the module is missing I would add it as a module, as it will be faster.
To find it in the kernel, go into make menuconfig and press / for search. Enter the name you noted from lspci -k.
Navigate to it, the help tells where you need to go. If you can select the module just by setting items to <M> on the way, you can exit menuconfig and do
Code: | make modules
make modules_install |
If you has to choose something as <*>, you will have to rebuild your kernel and copy it to /boot again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wmakowski n00b
Joined: 27 Jan 2006 Posts: 33 Location: Ohio, USA
|
Posted: Thu Nov 17, 2011 12:09 am Post subject: |
|
|
Just wanted to add a few thoughts to the previous post since I recently did a ppc install on an iMac G3/500 DV SE. The install CD found the Ethernet Controller and connected to the net without any intervention so I assume you are configuring a kernel.
The lspci command given by Neddy is definitely the first step. That will tell you what card is in your iMac. From what I have read most iMac's use either a Sun GEM or BMAC driver. These are in menuconfig under...
Code: | Device Drivers --->
[*] Network device support --->
[*] Ethernet (10 or 100Mbit) ---> |
|
|
Back to top |
|
|
jonifili n00b
Joined: 16 Nov 2011 Posts: 2
|
Posted: Thu Nov 17, 2011 12:07 pm Post subject: Thanks |
|
|
Thanks,
I'll try it later today, and let you know out it turned out.
JF
Edit ->
Thanks for the lspci -k command, it was the deal breaker. It ID the network card as gem, and using the mac80211 module it mount the device in a snap!
But, and there is always a but-rigth, I am now stuck in the disk partition part. On the gentoo handbook the comand options they give do no perform accordingly in the machine. i.e. when using the "mac-fdisk d" (delete) and asked for the partition, no number (#p) is acedpeted.
Any thank for the help,
JF |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Fri Nov 18, 2011 7:52 pm Post subject: |
|
|
jonifili,
Are you sure you actually have some partitions to delete ?
mac-fdisk has a command to print the partition table, is it already empty? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wmakowski n00b
Joined: 27 Jan 2006 Posts: 33 Location: Ohio, USA
|
Posted: Sat Nov 19, 2011 12:59 pm Post subject: |
|
|
Another option for working on partitions is parted. It takes some getting use to, but at the same time it has more features. |
|
Back to top |
|
|
|
|
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
|
|