Hi all,
Yep.... looks like this one is biting me too.
Summary: Networking fails to get outside through my ADSL modem/router.
Just upgraded my XBox to Home 6.1 from Home 4.0, where I had no issues (other than magic tell me to upgrade
). I have not changed any wiring, or hardware from that previously working situation. I note that for Home 6.1, the kernel has changed from 2.4.22 to 2.4.32!
Now, on my Home 6.1 networking from my xbox kinda works:
- I've verified Telnet/SSH both work to the same subnet (ie other 192.168.1.x addresses}
- DNS resolves names to addresses
(eg >resolveip shallax.com
IP address of shallax.com is 86.13.233.178)
I noticed this problem by attempting to use "magic", which continously fails after a timeout. From another computer, I can Telnet to the server hosting "magic", and get sensible replies (an error message), so the router is letting the request and response through.
Ok, first thing I did was to attempt to change the hostname. I tried "newhost", but that fails, viz:
Code: Select all
>newhost
Enter new hostname (e.g. saturn): xena
Purging old hostname from hosts file
cat: /etc/hostname: No such file or directory
{no further output; waits indefinitely}
Next I used
later, I made edits to /etc/conf.d/hostname & /etc/hosts {see below} to get the prompt changed from 'Xbox' to 'xena'.
Things I've tried:
- converted to static IP address from default DHCP
- cable fault? {tried other computers using that cable and they work}
- router firewall on? {yes, but lets other computers access magic, I've also tried with it completely disabled and no change}
- set MTU to 1200 {no difference; did this via ifconfig, I assume you don't need to restart eth0.net for this to take affect as ifconfig shows the changed value immediately}
Here's a dump from ifconfig after a fresh boot
Code: Select all
eth0 Link encap:Ethernet HWaddr <edited>
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:3aff:fe4f:56cb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:588 errors:0 dropped:0 overruns:0 frame:0
TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55495 (54.1 Kb) TX bytes:42360 (41.3 Kb)
Interrupt:4 Base address:0x5000
.... and route:
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Files:
Code: Select all
# /etc/conf.d/hostname
# Set to the hostname of this machine
HOSTNAME="xena"
Code: Select all
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.7 2002/11/18 19:39:22 azarah Exp $
#
127.0.0.1 localhost
192.168.1.14 xena
Code: Select all
# /etc/conf.d/net
# default configuration after install (all uncommented)
#config_eth0=( "dhcp" )
#fallback_eth0=( "192.168.1.13 netmask 255.255.255.0 broadcast 192.168.1.255" )
#fallback_route_eth0=( "default via 192.168.1.1" )
# Changed to Static IP configuration after reading:
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=1
config_eth0=( "192.168.1.14 netmask 255.255.255.0" )
routes_eth0=( "default gw 192.168.1.1" )
... and /etc/resolv.conf ---- on a fresh boot its now empty!!
Previously it had:
<EDIT>
I replaced the above line in /etc/resolv.conf,
and then restarted the interface (/etc/init.d/net.eth0 restart).
DNS, unsurprisingly is back.
Interestingly, during the interface restart I got messages saying:
* One of the files in /etc/{conf.d,init.d} or /etc/rc.conf
* has a modification time in the future!
Regardless, I rebooted and this time the namerserver setting stuck. Fingers crossed!
I also tried added my ISP's nameserver to this (2 entries) but it made no difference.
</EDIT>
I note from the ifconfig output above that there's an IP6 address; it was probably there for Home 4.0 (I can't remember). Given my router/modem is quite old now, I'm wondering whether its getting confused by any IP6 traffic the xbox may be sending.
As I'm not really familiar with networking, or linux tools that come standard with the Home 6.1 package, I don't know what to do next.
Suggestions gratefully received.