Re: sarge wireless config

From: Thore Senneset (thore_at_senneset.net)
Date: 09/29/05

  • Next message: Hanspeter Roth: "Re: cpufreqd: ondemand"
    To: Ganeshram Iyer <ganeshramiyer@gmail.com>
    Date: Thu, 29 Sep 2005 20:41:38 +0200
    
    

    [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
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hanspeter Roth: "Re: cpufreqd: ondemand"

    Relevant Pages

    • sarge wireless config
      ... following commands a number of times before i get a valid IP ... even 192.168.1.102 (i dont know where this is coming from - maybe ... ifup eth0 ... ifconfig eth0 del 192.168.1.102 ...
      (Debian-User)
    • [OT] Re: Cant find cable Internet Connection
      ... < please post the output of runing 'dhclient' as root. ... Internet Software Consortium DHCP Client 2.0pl5 ... DHCPREQUEST on eth0 to 255.255.255.255 port 67 ... iface eth0 inet dhcp ...
      (Debian-User)
    • Re: udev and ethernet connections
      ... iface eth0 inet dhcp ... auto dsl-provider ... iface dsl-provider inet ppp ...
      (Debian-User)
    • Re: Activating wireless card at boot
      ... > I execute those commands at root. ... I am well aware that one can get eth0 not to come up on boot. ... interface is not connected does npt bring the interface up. ... Trinity University ...
      (Fedora)
    • Re: networking, interfaces problem on Debian sarge
      ... commands. ... I have those lines in my script. ... on the command line after boot, when eth0 isn't up. ... It only says 'ifup: ...
      (comp.os.linux.setup)