View previous topic :: View next topic |
Author |
Message |
dr3amkatch3r n00b
Joined: 08 Mar 2004 Posts: 5
|
Posted: Wed Mar 10, 2004 12:08 am Post subject: post installation eth0 trouble |
|
|
I completed the stage3 livecd installation of gentoo 2004, using gentoo-dev-sources genkernel. My internet worked just fine while i was installing, but now I can't get online to emerge a GUI. I run ifconfig and i get the following:
Code: | eth0
Link encap:Ethernet HWaddr 00:08:74:02:45:0F
inet addr:137.49.231.111 Bcast:137.49 1.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:25
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1500 (1.4Kb)
Interrupt:10 Base address:0x3000
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.255.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2184 (2.1Kb) TX bytes:2184 (2.1Kb) |
and that's all there is. my ip is correct. i'm at the university of hartford(hartford.edu), and i'm not sure if i have to put hartford.edu somewhere in my settings. my gateway is 137.49.1.21 and my nameservers are 137.49.1.100 and 137.49.1.150
I put my gateway in as 137.49.1.255, but that could be off by a mile for all i know. Does anyone have any suggestions for how I can fix this? |
|
Back to top |
|
|
d_f0rce n00b
Joined: 06 Oct 2002 Posts: 27
|
Posted: Wed Mar 10, 2004 12:37 am Post subject: |
|
|
If your settings are correct you can use these commands to get your network connection up and running:
---------------------------
ifconfig eth0 137.49.231.111 broadcast 137.49.1.255 netmask 255.255.0.0
route add default gw 137.49.1.21
echo "nameserver 137.49.1.100" > /etc/resolv.conf
echo "nameserver 137.49.1.150" >> /etc/resolv.conf
---------------------------
To set this configuration on startup you have to edit /etc/conf.d/net like this:
---------------------------
iface_eth0="137.49.231.111 broadcast 137.49.1.255 netmask 255.255.0.0"
gateway="eth0/137.49.1.21"
---------------------------
Greets,
Alex |
|
Back to top |
|
|
|