You are not logged in.
Pages: 1
Hi
I have just done an install of arch and I tried unsuccessfully to config the internet.
I have a router that conects in PPPoE mode. It does all necc connections and it acts as DHCP server, DNS and gateway. I also verified the modules.
I followed the instructions in the wiki:
in /etc/rc.conf
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway)
but pinging the device/a website returns a network unreachable.
Thanks
Serial ignoramus- a day of experience 365 times.
Offline
The ! in front of gateway is not good. Remove it and restart the network-component in /etc/rc.d/
Todays mistakes are tomorrows catastrophes.
Offline
Thanks mucknert for the fast reply.
however it gives the following error:
$/etc/rc.d/network start
lo
[.....info from ifconfig]
STIOCT: device unreachable
[FAIL]
If possible how do I get it up manually?
Serial ignoramus- a day of experience 365 times.
Offline
ifconfig eth0 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255
route add default gw 10.0.0.1
Change the IP's with yours.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Check the interface is actually available by running "ifconfig eth0" as root, you should get something like this if it is...
[root@marbles ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:17:31:BF:9B:C2
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7618 errors:0 dropped:0 overruns:0 frame:0
TX packets:5427 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3232655 (3.0 Mb) TX bytes:497059 (485.4 Kb)
Interrupt:20 Base address:0xd400
If you have a dhcp server, then all you have to do is run "dhcpcd eth0" (assuming dhcpcd is your dhcp client, I'm pretty sure it's the default in Arch anyway).
You can verify network settings by running "ifconfig" and making sure you have an IP address, running "route" and making sure the gateway IP was set correctly, and running "cat /etc/resolv.conf" and making sure your nameserver was set correctly.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
the config should be
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
without the routes/gateway, that's for manualy ip config..
there is need to start dhcpcd, the option, dhp will start it as necessary...
also, make sure ur nic is properly configured| module loaded ...
laspci | grep net
it will suggest what the required should be...
{i know u said u verified the modules, but we al miss things sometimes, and if i post multiple suggestions then it get's nic working aster..maybe}
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
Thanks noriko for the help on the config. Now its working perfectly
Thanks chrismortimore and fubar too
Serial ignoramus- a day of experience 365 times.
Offline
no problem dude, i learned the hard way too lol...
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
Damn. I couldn't check back because I wasn't on my Arch-Box. Sorry for the false hint.
Todays mistakes are tomorrows catastrophes.
Offline
Pages: 1