View previous topic :: View next topic |
Author |
Message |
jdhooghe85 Tux's lil' helper
Joined: 12 Jun 2004 Posts: 133
|
Posted: Sun Jul 25, 2004 1:33 am Post subject: My Internet went kaput |
|
|
hello, i have a bit of a problem. My internet suddenly stopped working but it did work before. When it stopped working i rebooted using the livecd and found out that the internet worked from there and that it was detecting all my internet settings. I rebooted into fluxbox again and noticed while the kernel was loading that when it was trying to startup eth0 it said netmount was not found. I checked the loaded modules and forcedeth was loaded and working and ifconfig eth0 showed the device. When i tried redoing the settings using net-setup eth0 it didnt work and it didnt work in the livecd either. Im using cable and have a cable running directly to the router. If you guys could help i would really appreciate it.
Last edited by jdhooghe85 on Sun Jul 25, 2004 9:40 pm; edited 1 time in total |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Sun Jul 25, 2004 9:39 am Post subject: |
|
|
What is the problem?
Internet did not kaput.
If it did we whould notice aswell. _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
jdhooghe85 Tux's lil' helper
Joined: 12 Jun 2004 Posts: 133
|
Posted: Sun Jul 25, 2004 9:43 pm Post subject: |
|
|
As i stated in the above post my internet stopped working. I described what happened if anyone could help and not be a smart ass i would appreciate it.
EDIT: sorry but i have another bit of information. when i use ifconfig it only shows lo but when i use ifconfig eth0 it shows eth0 and thats what my ethernet nic is named. so i dont know why ifconfig doesnt show eth0 |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Jul 27, 2004 12:16 pm Post subject: |
|
|
jdhooghe85 wrote: | As i stated in the above post my internet stopped working. I described what happened if anyone could help and not be a smart ass i would appreciate it.
EDIT: sorry but i have another bit of information. when i use ifconfig it only shows lo but when i use ifconfig eth0 it shows eth0 and thats what my ethernet nic is named. so i dont know why ifconfig doesnt show eth0 | becouse you havent configured eth0
you can make it "show" eth1 eth9 if you want.
but it doesnt have any ip adress assigned to it, you should have
inet addr:81.226.107.2 Bcast:81.226.107.255 Mask:255.255.255.0
in the output for example, of ifconfig on eth0.
(not ifconfig eth0)
if you get an adress via dhcp from your isp then run dhcpcd eth0 and it will give you an ip adress and assign the other values aswell. then your set unless you need to login on the isp to actually recieve info. (for example links 10.0.0.6/sd/init will do the trick if you have telia in sweden)
if you do not recieve a ip adress from your isp, ie you have a static ip then you need to assign it manual like
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
ofcourse change the ip adress to whatever you have netmask and add bcast if ncessesary.
if you have a static ip then you need to add a dns server to /etc/resolv.conf as so
echo "nameserver 199.67.195.30" >> /etc/resolv.conf
and your all set.
read up no networking in general becouse the "internet" doesnt go "kaput" just becouse you cant access it. _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Jul 27, 2004 12:35 pm Post subject: |
|
|
Try doing this:
Unless you have an assigned IP. If you have one of those then don't worry about it. If that works for you and the init script still gives you bogus errors then I have an init script I hacked to only start and stop dhcpcd in that fashion. |
|
Back to top |
|
|
|