Networking installation mishap - wireless, eth

Carthik Sharma carthik at gmail.com
Mon Apr 11 10:37:33 UTC 2005


Hi,
On Apr 10, 2005 8:06 PM, Christoph Georgi <christoph.georgi at web.de> wrote:
> What do you mean with "I cannot access the Internet"? Do you get an IP
> address or are they static. Can you ping the gateway? ... Please be a
> bit more specific.

I am sorry, to be more specific, I cannot access the network. I do not
get an IP address, and I cannot ping anywhere. The Ethernet card does
not seem to get configured properly.
I am an wireless now, just so that I can reply to this mail.
 
> Usually there is no such thing as a primary and secondary interface.
> Linux uses what ever is there.. And if eth is up and wireless is up, the
> kernel will route according to its routing table ('$ ip route show')
> 
> Please post the outputs of '$ sudo ifup eth0' and '$ ifconfig'..

 /etc/network/interfaces has the following autogenerated text in it:
# The primary network interface
auto eth1
iface eth1 inet dhcp
        # wireless-* options are implemented by the wireless-tools package
        wireless-mode managed
        wireless-essid any
        name Ethernet LAN card

auto eth2
iface eth2 inet dhcp
name Ethernet LAN card

sudo ifup eth2

Gives me:

sit0: unknown hardware address type 776
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
sit0: unknown hardware address type 776
Bind socket to interface: No such device
Failed to bring up eth2.

ifconfig
shows that eth1 and lo interfaces are configured.

I hope this information helps. Can we know what I am doing wrong?

Thanks,
Carthik.

> regards
> .christoph
> 
> 
> Carthik Sharma wrote:
> > When installing Ubuntu, I selected my wireless interface as the
> > "primary" interface. I think this is what is causing my problems
> > currently.
> >
> > The wireless card, and accessing work perfectly, thank you :)
> >
> > The problem, though is that when I turn off the wireless card, and
> > reboot with the ethernet cable plugged in, I cannot access the
> > internet.
> >
> > So,
> > 1) How can I "re-configure" things so that my "primary" interface is
> > the ethernet card, and the wireless card is secondary?
> > Or
> > 2) re-configure things so that Ubuntu tries to connect to the
> > network/internet using the ethernet  (LAN) card  and only if that does
> > not work does it try to bring up the wireless card ?
> >
> > Thank you,
> > Carthik.
> 
> --
> 
> Christoph Georgi
> -----------------------------
> email.  christoph.georgi at web.de
> fon.    +64 (0)9 815 8259
> 
> registered linux user #380268
> ubuntulinux 4.10 (warty)
> 


-- 
When nothing is done, nothing is left undone -- 老子 Lǎozi

University of Central Florida
Homepage: http://carthik.net




More information about the ubuntu-users mailing list