On Fri, 18 Aug 2006 13:10:39 -0400
Peter Schaffter <(E-Mail Removed)> wrote:
> Hi, all.
>
> This is one of those "I'm trying to set this up on a friend's
> computer" posts. I'm
>
> - not presently at her computer
> - won't be at her computer for at least another 24 hours
> - have to reconstruct her problem from memory
>
> Please bear with me.
>
> Ultimate goal
> ~~~~~~~~~~~~~
> My friend--let's call her Annie--has Windows 98 installed on one
> desktop computer. She's recently installed Kubuntu on another
> desktop computer. She wants to use the Kubuntu machine all the
> time, but still needs the Windows box on a regular basis. She want
> to
>
> - connect the Kubuntu box to one LAN port of a D-Link DI-704P router
> - connect the 98 box to another LAN port of the same router
> - use vnc from the Kubuntu box in order to use her 98 box
>
> Peculiarities
> ~~~~~~~~~~~~~
> - Annie doesn't have ADSL access
> - she connects to the web strictly using ppp
> - the WAN port on the D-Link router is therefore empty
>
> Steps we've taken to set this up
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1. Manually reset the router to its defaults.
> - appears to have worked
>
> 2. Plugged the Kubuntu box and the 98 box into two of the router's
> LAN ports.
> - both connections are solid
>
> 3. Fired up the 98 box.
> - no problem
>
> 4. Used wifcfg (or whatever that 98 DOS command is--I've never
> used Windows before) to show network
> status.
> - output shows that the network card in the 98 box (an
> NE<something>) is up:
> o IPv4 address 192.168.0.126
> o Bcast: 192.168.0.255
> o Mask: 255.255.255.0
> o Gateway: 192.168.0.1
>
> 6. Contacted the router by going to 192.168.0.1 in IE.
> - contact was successful; the router page opened
>
> 6. Fired up the Kubuntu box.
> - /etc/init.d/networking chokes on DHCPREQUEST and brings ups
> eth0 without an address, consequently there's no way to
> contact the router or the 98 box
Do you have two network interfaces on this box, and if so, is the cable
in the correct ethernet socket?
> Summary of problem
> ~~~~~~~~~~~~~~~~~~
> Annie's Kubuntu box isn't able to contact the D-Link router and
> subsequently obtain an IP address via DHCP.
>
> Troubleshooting the Kubuntu box
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1. Is dhcp-client installed?
> - yes
>
> 2. Does /etc/network/interfaces file contain these lines?
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
>
> - yes
>
> 3. Does /etc/resolv.conf contain Annie's nameservers (not sure this
> is important in this instance).
> - yes
>
> 4. How is /etc/hosts is set up?
>
> 127.0.0.1 localhost.localdomain localhost ubuntu
>
> - looks fine to me
This only relates to name resolution.
> 5. Is the ethernet card properly installed and functioning?
> - brought up the card manually with the address, 192.168.0.3
> - pinged 192.168.0.3
> - ping was successful, ergo card is fine (?)
That rules out my previous suggestion then.
> Annie tells me the network card is new (bought last week) and that,
> to the best of her knowledge, she's not running a firewall. I
> forgot to check that; does anyone know if Kubuntu sets up some sort
> of minimal firewall by default?
No idea. If it does, then it's weird that the default firewall would
prevent outgoing dhcp requests.
> Anyway, that's the summary of where we are. A Windows 98 box can
> connect to the D-Link router, and a Kubuntu box can't. On the
> basis of the information I've provided, can anyone suggest reasons
> why the Kubuntu box is unable to reach the router? Have I stupidly
> overlooked something?
I don't think you overlooked anything, but it might be worth issuing:
dhclient eth0
from the command line and see where that gets you. It might be that the
card has to 'settle' post boot before it talks to the network. This
might be the inverse of what you were saying about the firewall,
sometimes (in firewall theory) the firewall blocks everything until the
system has booted and networks are up, then it applies interface rules.
Bit of a weird one, but in theory, you don't want an interface blinding
accepting packets at boot time - for that might stop one from bouncing,
bouncing is important.
--
Regards, Ed ::
http://www.ednevitable.co.uk
just another linux person
Chuck Norris's roundhouse kicks are powered by love. Everytime he
connects with a roundhouse there is slightly less love in the
universe.