configure eth1 for computer-to-computer AirPort network

Michael Baer yellowdog-general@lists.terrasoftsolutions.com
Mon Aug 11 18:15:01 2003


>>>>> "j" == j d welch <j.d.welch> writes:

    j> i've been running ydl 3.0 on my iBook for a couple weeks, on
    j> and off, and haven't figured out why sometimes eth1 (the
    j> wireless interface) comes up at boot and finds my wireless
    j> router (in this case an iMac doing the computer-to-computer
    j> network thing) and sometimes not.  how do you specify a
    j> wireless access point to use in this situation? searching the
    j> list archives and google isn't helping much, and i've only used
    j> wireless under linux when the base station is doing the easy
    j> dhcp thing...


Some of the command line tools you can use are iwconfig and
ifconfig. Although, you can probably just run:

'dhclient eth1'  (or dhcpcd if you have it, or pump)

If that doesn't work though,

iwconfig (installed from wireless-tools) can be used to examine and
change the wireless specific features: network type, essid, encryption
info, etc.... 'iwconfig -a' will show you the current state of your
wireless interfaces. You usually need to be root to change or look at
the encryption info.

ifconfig can be used to examine and change IP network specific
information: IP address, netmask, etc.... 'ifconfig' alone will show
you the state of interfaces that are up. 'ifconfig -a' will show you
all the currently available interfaces. 

With your setup, it is probably easier to use dhclient and not mess
with ifconfig for IP configuration.

Mike

-- 
ydl@mikesoffice.com