| View previous topic :: View next topic |
| Author |
Message |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Fri Aug 15, 2008 8:18 pm Post subject: [SOLVED] Cannot connect to internet using 2008.0 livecd |
|
|
Hi all,
Sorry if this has been asked to death elsewhere, but I did search first--just didn't find anything that seemed to help
I am putting a fresh install on a an HP nx6110 laptop, which generally works quite well with gentoo. However, for some reason the 2008 installer is having trouble getting the network running. It has found the cards--both wireless and wired--and identified them correctly. What is unusual (to me) is that it has put the wireless card at eth0, but I can't actually use the service where I'm located, and put the Broadcom BCM4401-B0 card at eth1.
I have followed the directions in the manual, and net-setup eth1 tries to use the b44 module (correct), but ifconfig simply gives:
| Code: |
eth1 Link encap:Ethernet HWaddr 00:14:38:11:ED:A5
inet6 addr: fe80: :214:38ff:fe11:eda5/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4480 errors:1 dropped:1 overruns:0 frame:0
TX packets:1409 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:609173 (594.k Kb) TX bytes:(481764 (470.4 Kb)
Interreupt:18
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
I'll be happy to post any addition information that you may need, I just don't know what might be useful...
Thanks in advance! _________________ But... it IS pointless!
Last edited by the.drizzle on Sun Aug 17, 2008 4:28 am; edited 1 time in total |
|
| Back to top |
|
 |
kevstar31 Guru


Joined: 22 Nov 2006 Posts: 405 Location: Ohio
|
Posted: Fri Aug 15, 2008 9:54 pm Post subject: |
|
|
Are you using DHCP or a static address?
Also can you post the output of the following commands:
route
/etc/init.d/net.eth0 restart _________________ Desktop: 2.6.23-gentoo-r6 SMP x86_64 Dual-Core AMD Opteron(tm) Processor 1210
Laptop: 2.6.25-gentoo-r7 SMP i686 AMD Turion(tm) 64 X2 Mobile Technology TL-60
while(true) std::cout << "Jesus I trust in you." << std::endl; |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Fri Aug 15, 2008 10:13 pm Post subject: |
|
|
I'm trying to use DHCP, as it has always worked in the past...
As for the output, I get:
| Code: |
livecd root #/etc/init.d/net.eth0 restart
* Starting eth0
* Configuring wirless network for eth0
* no access points found
* Couldn't find any access points on eth0
* Failed to configure wireless for eth0
|
But that was to be expected--recall that I mentioned I cannot use wireless where I am. I also did this then:
| Code: |
livecd root #/etc/init.d/net.eth1 restart
* Stopping eth1
* Bringing down eth1
* Shutting down eth1 ...
* Starting eth1
* Starting netplug on eth1 ...
* Backgrounding ...
|
ifconfig still gives the same output though--no ip address at all... _________________ But... it IS pointless! |
|
| Back to top |
|
 |
twister666 Tux's lil' helper

Joined: 07 Jan 2007 Posts: 126 Location: MTL,QC,Canada
|
Posted: Fri Aug 15, 2008 10:23 pm Post subject: |
|
|
Did you try doing this:
#dhcpcd eth1 or #ifconfig eth1
(this often solved my problems with the network) |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Fri Aug 15, 2008 10:35 pm Post subject: |
|
|
Well, clearly I've already done that, as #/etc/init.d/net.eth1 start tries to run dhcpcd on eth1. If I explicityly do it myself, it simply hangs indefinitly, so that ifconfig gives the same output. _________________ But... it IS pointless! |
|
| Back to top |
|
 |
kevstar31 Guru


Joined: 22 Nov 2006 Posts: 405 Location: Ohio
|
Posted: Fri Aug 15, 2008 10:52 pm Post subject: |
|
|
So what router are you using? _________________ Desktop: 2.6.23-gentoo-r6 SMP x86_64 Dual-Core AMD Opteron(tm) Processor 1210
Laptop: 2.6.25-gentoo-r7 SMP i686 AMD Turion(tm) 64 X2 Mobile Technology TL-60
while(true) std::cout << "Jesus I trust in you." << std::endl; |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Fri Aug 15, 2008 10:57 pm Post subject: |
|
|
Ah, the router! Maybe that's where the problem lies...
It is a D-Link 302G supplied by my my ISP. I know it works with the computer in it's current state, as it was fine until *I* broke the system, thus necessitating the rebuild. However, it has been years since I last rebuilt the OS on the computer in question, and have long forgotton if I had to do anything "extra" to get the network running. I don't recall having this problem in the past though...
EDIT:
Sorry, I didn't see in your earlier question the request for the output of route. Here it is:
| Code: |
livecd ~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
|
Don't think that's very useful though... _________________ But... it IS pointless! |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Sat Aug 16, 2008 6:43 pm Post subject: |
|
|
Still nothing, and I have resorted to doing the install offline, bringing each distfile over via usb stick as needed. This is not fun...
Any ideas? _________________ But... it IS pointless! |
|
| Back to top |
|
 |
rrm74001 n00b

Joined: 16 Aug 2008 Posts: 14
|
Posted: Sat Aug 16, 2008 7:37 pm Post subject: |
|
|
| the.drizzle wrote: | Still nothing, and I have resorted to doing the install offline, bringing each distfile over via usb stick as needed. This is not fun...
Any ideas? |
This happened to me when I tried to install Gentoo Linux of my Apple MacBook Pro. Is you internet connection going though more than one switch? If it is, try connecting it directly to your internet connection, or through only one switch.
This is how I fixed my issue, anyway. |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Sat Aug 16, 2008 10:23 pm Post subject: |
|
|
Unfortunately, it is already as direct as it can get--ADSL to D-Link modem / router to computer.
This is making me bonkers!!!
(On the plus side, the rest of 2008.0 seems a lot nicer than any of the previous versions, so that I'm liking ) _________________ But... it IS pointless! |
|
| Back to top |
|
 |
SeaTiger l33t


Joined: 22 Nov 2007 Posts: 603 Location: Toronto, Ontario, Canada
|
Posted: Sun Aug 17, 2008 2:08 am Post subject: |
|
|
Did you try using static ip? | Code: | ifconfig eth1 192.168.1.2
route add default gw 192.168.1.1 | Assuming your router's ip is 192.168.1.1 |
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Sun Aug 17, 2008 3:24 am Post subject: |
|
|
Ha! That did it--using the actual IP of my router, of course.
Now, and this is probably going to be the dumber question, how would incorporate the above into my /etc/conf.d/net file? That is, I now get:
| Code: |
crappy-lappy ~#/etc/init.d/net.eth0 start
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhclient ...
SIOCADDRT: Network is unreachable
* eth0 received address 124.197.38.202/8
|
and I don't have a connection. However, if I manually enter
| Code: |
crappy-lappy ~#route add default gw 124.197.38.202
|
then I'm sorted. That is, I have
| Code: |
crappy-lappy ~#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
124.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default 124-197-38-202. 0.0.0.0 UG 0 0 0 eth0
|
How do I automate the above? _________________ But... it IS pointless! |
|
| Back to top |
|
 |
SeaTiger l33t


Joined: 22 Nov 2007 Posts: 603 Location: Toronto, Ontario, Canada
|
Posted: Sun Aug 17, 2008 3:32 am Post subject: |
|
|
In file /etc/conf.d/net | Code: | config_eth1=( "192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255" )
routes_eth1=( "default via 192.168.1.1" ) | In directory /etc/init.d | Code: | ln -s net.lo net.eth1
rc-update add net.eth1 default |
|
|
| Back to top |
|
 |
the.drizzle Tux's lil' helper

Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Sun Aug 17, 2008 4:28 am Post subject: |
|
|
Thanks! I'm now up and running  _________________ But... it IS pointless! |
|
| Back to top |
|
 |
|