[E3-hacking] Newbie networking problems

David Given dg at cowlark.com
Tue Apr 24 14:16:35 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Collins wrote:
[...]
> So that's as far as I've got. I can't see /dev/eth0, which I would 
> expect. ifconfig just shows my loopback device (should it show more?)

On Linux ethernet devices don't get device nodes, so you won't see any network
devices in /dev. Also, ifconfig will only show you configured ethernet devices
(unless you ask it to show you them all); since your new USB device isn't
configured, it's not showing up on the list.

What you need to do is:

ifconfig -a

...which will tell you the name of the network device, and then:

ifconfig [name] up [ipaddress] netmask [netmask] gw [gateway]

...to configure it. From there it ought to work, though you may need to tweak
the routing table (use the 'route' command) and the DNS setup
(/etc/resolv.conf) first.

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│ "Feminism encourages women to leave their husbands, kill their children,
│ practice withcraft, destroy capitalism and become lesbians." --- Rev. Pat
│ Robertson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLgMyf9E0noFvlzgRAmR7AJkBptX93p3Zkw6GXzg3v8Zd29mUYACffqrl
riYfAKl18LyJc9D7AJCVwbA=
=Yhe4
-----END PGP SIGNATURE-----




More information about the e3-hacking mailing list