Hey guys!
I emerged aMule, iptables, did two times magic and tried a emerge -u world but stopped it as it took very long time.
Now my internet connection doesn't work any longer.
Neither via DSL nor via connection sharing of Windows XP.
(both worked some days ago)
ADSL is able to connect but I can't ping any pages. Pinging my network PC works fine!
My net config looks like this:
iface_eth0="192.168.0.18 broadcast 192.168.0.0 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"
Problem #2:
If I login to the X-Box on SSH with Putty it takes a long time ~20sec until I'm asked for the password - what could I do to fasten the login process?
Any solutions would be greatly appreciated!
Thanks in advance
gLaDi
internet connection down - error in net config?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
for problem one check your /etc/resolv.conf make sure your nameservers are correct.
For problem two you need add the ip address of your PC that you are using to login via ssh to /etc/hosts like this
For problem two you need add the ip address of your PC that you are using to login via ssh to /etc/hosts like this
Code: Select all
192.168.0.1 mycomputer.domain.tld mycomputer
If you keep an open mind, will your brain fall out?
Problem #1:
yes the nameservers are correct (tested on my PC)
Now I can ping IPs on the internet when I'm directly connected with my X-Box via T-DSL but it doesn't work over connection sharing of my PC even when I add
gateway="192.168.0.1"
to net config.
I get this error:
connect: Network is unreachable
How do I load the file /etc/conf.d/net while the X-Box is running? I think it only loads once when the box boots but how to load it when I've changed something while it is running for exemple the gateway?
Problem #2:
solved - THX!
New question:
I'm working with VNC and putty only and don't need to load any interface on my X-Box to show it on TV. Which service do I have to disable?
yes the nameservers are correct (tested on my PC)
Now I can ping IPs on the internet when I'm directly connected with my X-Box via T-DSL but it doesn't work over connection sharing of my PC even when I add
gateway="192.168.0.1"
to net config.
I get this error:
connect: Network is unreachable
How do I load the file /etc/conf.d/net while the X-Box is running? I think it only loads once when the box boots but how to load it when I've changed something while it is running for exemple the gateway?
Problem #2:
solved - THX!
New question:
I'm working with VNC and putty only and don't need to load any interface on my X-Box to show it on TV. Which service do I have to disable?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
to reload eth0
gateway line should be
Code: Select all
/etc/init.d/net.eth0 restart
Code: Select all
gateway="eth0/192.168.0.1"
If you keep an open mind, will your brain fall out?