Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Debian + WEP problem

  • 19-06-2005 3:06pm
    #1
    Closed Accounts Posts: 2,338 ✭✭✭


    Hi,
    I've set up Debian Sarge. I've got 3 wireless cards (one build in- 2 PCMCIA). I can get on the network when i disable WEP on the router, but not with WEP enabled.

    I was wondering if anybody could share their network scripts so i can edit them and merge them with my own, specifically the parts where WEP keys are specified.

    I use a string based WEP password. So i'm looking for somebody who does the same, but can change their password before sending it to me (if you dont wanna share your real password- change it- but keep the format the same!).

    Would i be right in saying the file i need is /etc/network/interfaces ???

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    Yep, /etc/network/interfaces is where you'll be going, but let's back up to the WEP string for a minute. I expect your router uses this for simplicity - mine does anyway. Debian, however, will require the hex codes that the string is translated into - these should be available in the router's config.

    Here's mine, with the essential parameters changed:
    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
    # The loopback interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    
    mapping eth0
          script ifscheme-mapping
    
    iface eth0-home inet dhcp
          wireless_mode managed
          wireless_essid your_essid_here
          wireless_ap auto
          wireless_keymode restricted
          wireless_key 8D53EE9AC67F215B (or whatever)
          wireless_defaultkey 1
    
    iface eth0-away inet dhcp
          wireless_mode managed
          wireless_essid any
          wireless_ap auto
          wireless_keymode off
    


  • Closed Accounts Posts: 2,338 ✭✭✭aphex™


    Hey Tom,
    that worked! I'm now on the net on my debian installation, brilliant.

    What i find weird is- on fedora, Suse, & Debian i used graphical utils like kwifimonitor, Yast on suse and a command line progy (ndiswrapper instructions told me to use iwconfig, i think) to pass the WEP key in STRING form. None worked for me, ever, as far as i can remember. I had to switch off WEP on the router for a while there too :eek:

    Anyways, thanks alot for your help there


  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    I'm not sure how the string is encoded into hex, or if there's even a standard. Chances are your router was doing it one way, and yast etc another way.

    Glad you're sorted anyway.


Advertisement