View previous topic :: View next topic |
Author |
Message |
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Wed Dec 14, 2011 11:18 pm Post subject: |
|
|
NeddySeagoon
Quote: | Your dmesg shows that the JMicron module loaded - even if its not loaded now.
Do
Code:
modprobe -r 8139too
modprobe 8139too
to be sure it did not interfere with your correct Ethernet module.
Now restart net.eth0
Any luck ? |
Still no luck.
Code: | * Caching service dependencies ...
* Bringing up interface eth0 ...
* Starting netplug on eth0
* Backgrounding ...
ERROR: net.eth0 failed to start |
|
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Wed Dec 14, 2011 11:35 pm Post subject: |
|
|
krinn
Quote: | redo with that instead (notice the switch from the faulty 192.168.0.44 to 192.168.1.44 and the good gw IP now)
Code:
ifconfig eth0 192.168.1.44
route add default gw 192.168.1.254
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
route -n
ping -c1 google.com |
Still no luck
Code: | ping -c1 google.com
ping: unknown host google.com |
Quote: | Your challenge level is quiet low |
I'd be enjoying the challenge if I could just get started, but it's nearly a week and I'm getting nowhere. I shan't give up yet, but I'm feeling frustrated. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Dec 15, 2011 3:16 pm Post subject: |
|
|
Can you post your /etc/conf.d/net ? I'm still wondering if there is something there that's affecting your device from working properly.
Can you also post the output of `lspci -k`? This will list out your hardware and what kernel modules are attached to them. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54302 Location: 56N 3W
|
Posted: Thu Dec 15, 2011 7:52 pm Post subject: |
|
|
csaenemy,
Whatever netplug is, get rid of it for now.
When networking works as intended, its time to add bells and whistles if you want to. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Fri Dec 16, 2011 12:39 am Post subject: |
|
|
mikegpitt
Code: |
cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /usr/share/doc/openrc/net.example and save your configuration
# in /etc/init.d/net (this file :}!) . |
Code: |
lspci-k
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
Subsystem: Foxconn International, Inc. Device 0c77
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
Kernel driver in use: pcieport
00:1b.0 Audio device: N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: Foxconn International, Inc. Device 0c78
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: uhci-hcd
Kernel modules: uhci-hcd
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: uhci-hcd
Kernel modules: uhci-hcd
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: uhci-hcd
Kernel modules: uhci-hcd
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: uhci-hcd
Kernel modules: uhci-hcd
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller #3 (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: uhci-hcd
Kernel modules: uhci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge
00:1f.1 IDE Interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: ata_piix
Kernel modules: ata_piix
00:1f.2 IDE Interface: Intel Corporation N10/ICH 7 Family SATA Controller [IDE mode] (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: ata_piix
Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
Subsystem: Foxconn International, Inc. Device 0c77
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
Subsystem: Foxconn International, Inc. Device 0f04
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139c+ (rev 10)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
|
|
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Fri Dec 16, 2011 12:43 am Post subject: |
|
|
NeddySeagoon
Code: | emerge -C netplug
-bash: emerge command not found
|
I guess I need to get on the internet before I can install emerge |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Dec 16, 2011 1:48 am Post subject: |
|
|
Code: | 02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139c+ (rev 10)
Subsystem: Foxconn International, Inc. Device 0c77
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp | Perhaps this is the issue? It appears that you have both the 8139too and 8130cp modules loaded for this device. I'm not sure which one would be better for you, but the 8139cp driver is experimental, so try the other 1st.
Code: | rmmod 8139too
rmmod 8139cp
modprobe 8139too
/etc/init.d/net.wlan0 restart |
If that doesn't work, try:
Code: | rmmod 8139too
rmmod 8139cp
modprobe 8139cp
/etc/init.d/net.wlan0 restart |
Also verify with `lspci -k` or modprobe that both aren't loaded at the same time. If one of these options works, you will need to either take one out of the kernel, or blacklist the module.
Also... I'm not sure if this device needs extra firmware or not. If yes, make sure you have the linux-firmware package installed.
csaenemy wrote: | NeddySeagoon
Code: | emerge -C netplug
-bash: emerge command not found
|
I guess I need to get on the internet before I can install emerge |
I take it you are still testing this on a livecd and not your actual system? Emerge shouldn't be missing otherwise... |
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Fri Dec 16, 2011 10:47 am Post subject: |
|
|
mikegpitt
I tried
Code: | rmmod 8139too
rmmod 8139cp
modprobe 8139too
/etc/init.d/net.wlan0 restart |
and I tried
Code: | rmmod 8139too
rmmod 8139cp
modprobe 8139cp
/etc/init.d/net.wlan0 restart |
Substituting wlan0 with eth0 in each case.
I typed lspci -k after each. Only 8139too showed up as Kernel driver in use. When 8139too was removed but 8139cp was present the Kernel driver in use line was missing completely.
Both gave Code: |
*Bringing down interface eth0
* Stopping netplug on eth0...
*Bringing up interface eth0
* Starting netplug on eth0...
* Backgrounding
*ERROR: net.eth0 failed to start |
Quote: | Also... I'm not sure if this device needs extra firmware or not. If yes, make sure you have the linux-firmware package installed. |
Is this possible from the minimum install live cd? If so how?
Quote: | I take it you are still testing this on a livecd and not your actual system? Emerge shouldn't be missing otherwise... |
I would quite happily install to my system, but the installation guide says that I need to be networked to go any further, hence my frustration.
I made an iso of the live DVD, hoping that I could go further without the need for networking, but it wouldn't boot, so this is where I am stuck. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Dec 16, 2011 2:30 pm Post subject: |
|
|
csaenemy wrote: |
I would quite happily install to my system, but the installation guide says that I need to be networked to go any further, hence my frustration.
I made an iso of the live DVD, hoping that I could go further without the need for networking, but it wouldn't boot, so this is where I am stuck. | Most of this time I thought we were troubleshooting on your actual installed system. It could be that there is a misconfiguration on the LiveCD that's preventing the installation. If you don't have a wired ethernet device in your system, your best bet is to install Gentoo from a livecd that works. Many people use the Backtrack livecd, but you can use pretty much anything, even an Ubuntu LiveCD. The instructions for installing Gentoo are the same either way.
The livecd not working isn't an indication that your actual installation won't work. More likely than not when you configure the kernel properly and install the necessary firmware, your networking will work fine. |
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Fri Dec 16, 2011 10:53 pm Post subject: |
|
|
mikegpitt and others
Thanks for all your efforts. I shall give up on this for now and look into alternate approaches. I still have a lot of learning ahead of me. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54302 Location: 56N 3W
|
Posted: Sat Dec 17, 2011 12:58 pm Post subject: |
|
|
csaenemy,
We have been working under a misunderstanding all this time.
I had always thought your had your install on your local hard drive an its networking was causing problems. Thats why you don't have emerge. Its a part of the Gentoo Stage3.
As none of the code in your boot media ends up in your Gentoo install, you can install GEntoo from only live distro what gives you a root shell and brings up your network.
You may need one extra command rith at the start before your can follow the Gentoo Handbook. Thats
If you don't happen to have any linux CDs/DVDs handy, try SystemRescueCD. Its Gentoo based and just works.
With a little more determination you don't need the internet on the PC you are installing onto but you will need internet access on another PC and a way to move files from this PC to your growing Gentoo install. Thats called Sneakernet
You at a minimum, you will need to sneakernet your stage3, your portage snapshot, your kernel sources and your boot loader. Everything else can be added when you have booted into that minimum system. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
csaenemy n00b
Joined: 09 Dec 2011 Posts: 33 Location: Northamptonshire, UK
|
Posted: Sat Dec 17, 2011 11:00 pm Post subject: |
|
|
OK last question.
Running the SystemRescueCD on my working computer I can connect to internet via firefox no problem, running through other computer I'm having exactly the same network problems. Is it possible that a new ethernet card would cure this? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54302 Location: 56N 3W
|
Posted: Sun Dec 18, 2011 7:53 pm Post subject: |
|
|
csaenemy,
Its possible that a network card that uses a different driver would work.
Once you build your own kernel, its very probable that your own kernel will work on the problem system without the extra network card. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|