[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sarge wireless config



[Ganeshram Iyer <ganeshramiyer@gmail.com>]

| Hello Debian experts,
| I have sarge installed on a dell inspiron 5000 and everything works (I
| think), but i have one problem trying to get the pcmcia netgear
| wireless card to work on the first attempt. it works and works fine
| just not on the first/second/third attempt. i have to go through the
| following commands a number of times before i get a valid IP
| (192.168.2.6 in all successful cases). if the process fails then i get
| even 192.168.1.102 (i dont know where this is coming from - maybe
| neighbor?) and 127.0.0.1 (does nothing i guess). the commands i cycle
| thru
>
| iwconfig eth0 essid test mode managed key on enc 11111111111111111111111111
| ifup eth0 (this sometimes says eth0 is already configured and quits)
| ifconfig (did it work)
| if no:
| ifconfig eth0 del 192.168.1.102
| rinse and repeat.
>

Why not smack the whole thing in /etc/network/interfaces (assuming
you're using DHCP):

auto eth0
iface eth0 inet dhcp
      wireless-essid    test
      wireless-key      11111111111111111111111111
      wireless-mode     Managed
      wireless-rate     auto
      wireless-nick     your-host-name


-- 
Thore




Reply to: