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

Wireless card on Linux

  • 21-03-2012 5:50pm
    #1
    Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭


    Hi guys,

    I've just recently began to use linux and I'm look for some help with my wireless card.

    When i list network adapters it states that i have no wirelesss.. however

    lspci

    munication controller: Texas Instruments PCI6515 SmartCard Controller
    03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)

    I can see my wireless device but I can't get it to come up..
    Also I have downloaded the drive but dont know how to install..

    Any assistance is greatly appreciated..


Comments

  • Registered Users, Registered Users 2 Posts: 14,048 ✭✭✭✭Johnboy1951


    You do not say what distro you are using, but regardless it should have in its repository the firmware for that wireless device.


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    dmesg is also useful to see what's going on when the computer starts up.

    There's probably an online guide for your particular distro and that particular card. It's a well supported card so it shouldn't cause you too much grief.


  • Registered Users, Registered Users 2 Posts: 3,739 ✭✭✭Stuxnet


    if your on ubuntu, press the superkey and type "additional drivers",
    be wired to net via ethernet cable, and it'll downlaod and install your wireless driver and graphics card if needs be


  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    T-K-O wrote: »
    [..]
    03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
    [..]
    I have the same wifi - works without any problems. Type [1]:
    sudo lsmod | grep ipw2200
    
    if there is nothing in the output try:
    sudo modprobe ipw2200
    
    If there is something after [1] post the result of "ifconfig" and "iwconfig" (you might have to use "sudo" for it).

    OP, If you're not sure what I'm talking about you may read this: A beginner’s introduction to the GNU/Linux command line


  • Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭T-K-O


    Hey,

    Thank you for the suggestions..

    My job has sent me on a Security Course, part of that course is using backtrack. I've tried BT4/5 but I still have the same problem. I can try the suggestions above when I get home this evening.

    One last thing, my understanding is that BackTrack doesnt come with all the nessescary files - would I be better of (as a newbie to linux) installing ubuntu and downloading seperatley the other programs I need for this class?

    I have spent several hours on google but couldnt find anything of use Cheers for the guide, ill check it out later
    Thanks again


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    BackTrack is a specialised distro (I never used it), so it might not have the software for everyday use, but I'm quite sure things like "sudo", "modprobe", "lsmod" etc. are there :-) .
    For long run use I'd suggest to grab a few different livecds (ubuntu, mint, fedora), test and decide what you like.


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    After a quick google it seems that Backtrack should support that wifi card out of the box(possibly without injection).

    When you say list network adapters, what do you mean?

    Have you tried ifconfig -a?

    Do you know how to set up networking on that distro? (I don't know how it's done on Backtrack, whether it's NetworkManager, wpa_supplicant, a net config file)


  • Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭T-K-O


    PrzemoF wrote: »
    I have the same wifi - works without any problems. Type [1]:
    sudo lsmod | grep ipw2200
    
    if there is nothing in the output try:
    sudo modprobe ipw2200
    
    If there is something after [1] post the result of "ifconfig" and "iwconfig" (you might have to use "sudo" for it).

    OP, If you're not sure what I'm talking about you may read this: A beginner’s introduction to the GNU/Linux command line


    Ifconfig and ifconfig -a both produce

    eth0 Link encap:Ethernet HWaddr 00:14:22:c3:b6:7e
    inet addr:192.168.0.22 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::214:22ff:fec3:b67e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3174 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2527 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3560858 (3.5 MB) TX bytes:277902 (277.9 KB)
    Interrupt:16

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:153 errors:0 dropped:0 overruns:0 frame:0
    TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:18849 (18.8 KB) TX bytes:18849 (18.8 KB)



    root@root:~# sudo lsmod | grep ipw2200
    ipw2200 140278 0
    libipw 45395 1 ipw2200
    cfg80211 160399 2 ipw2200,libipw
    lib80211 13683 2 ipw2200,libipw

    but still nothing...

    iwconfig

    lo no wireless extensions.

    eth0 no wireless extensions.


    I got ubuntu up and running but I'd really like to resolve this issue..

    thanks again..


  • Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭T-K-O


    humbert wrote: »
    After a quick google it seems that Backtrack should support that wifi card out of the box(possibly without injection).

    When you say list network adapters, what do you mean?

    Have you tried ifconfig -a?

    Do you know how to set up networking on that distro? (I don't know how it's done on Backtrack, whether it's NetworkManager, wpa_supplicant, a net config file)

    iwconfig or ifconfig


  • Registered Users, Registered Users 2 Posts: 200 ✭✭druidhill


    T-K-O wrote: »
    ...
    My job has sent me on a Security Course, part of that course is using backtrack. I've tried BT4/5 but I still have the same problem. I can try the suggestions above when I get home this evening.
    ...

    Hi, any chance you could provide some info about this security course. I'm looking for a useful Security course (unfortunately work won't be paying for it so any help re. standards or open source material used and how it is used in the real world would be much appreciated, PM me if necessary).

    In relation to your own problem, you may need to download the linux driver for that card from the Intel site (I had to do this before but it was so long ago I can't remember any specifics - your distribution may or may not already have the drivers required for it, if not, try the Intel site).

    Thanks.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    What do you get after:
    ls /lib/firmware | grep ipw2200
    

    I have:
    ipw2200-bss.fw
    ipw2200-ibss.fw
    ipw2200-LICENSE
    ipw2200-sniffer.fw
    

    a next step:
    sudo rmmod ipw2200
    
    sudo tail -f /var/log/kernel
    

    and from an other terminal:
    sudo modprobe ipw2200
    

    You should see something like that in kernel log:
    Mar 22 21:51:14 pldmachine kernel: [ 4508.710144] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
    Mar 22 21:51:14 pldmachine kernel: [ 4508.710148] ipw2200: Copyright(c) 2003-2006 Intel Corporation
    Mar 22 21:51:14 pldmachine kernel: [ 4508.710289] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
    Mar 22 21:51:14 pldmachine kernel: [ 4508.913342] cfg80211: failed to add phy80211 symlink to netdev!
    Mar 22 21:51:14 pldmachine kernel: [ 4508.913485] ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
    


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    I agree with PrezemoF.

    If you run ifconfig -a it lists all network devices, even if they are not up(on). iwconfig lists wireless properties but we're not there yet!

    I googled and found this. It indicates that you do have to use modprobe to load the kernel module, then you can configure it to load automatically.

    Backtrack is probably jumping in at the deep end as far as learning how to use linux is concerned. There's less documentation on the basic stuff because if you're using it it's probably assumed that you are reasonable savvy.


  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    OP, wifi up&running or you gave up?


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    humbert wrote: »

    Backtrack is probably jumping in at the deep end as far as learning how to use linux is concerned. There's less documentation on the basic stuff because if you're using it it's probably assumed that you are reasonable savvy.

    He said its a security course not a Linux course, so its probably one of those "demonstration of whats out there and what can be done, but showing you exactly how to get everything working beyond the scope of this course. See SEC505 - Advanced security and Exploits, (another $5K) for how to do that".

    Sorry for my cynicism, but I recently got back from a course on pentesting where we spent a day learning to use netcat. Triffic, stuff I learnt in a 2600 magazine about 10 years ago.

    As a result of Backtracks usefulness in wireless hacking, it should have every wireless driver under the sun on the disk. Though injection may not necessarily work with out some patching.

    I'd be surprised if it took more than:
    modprobe ipw2200
    ifconfig wlan0 up
    

    The naming convention for the wireless interface may be slightly different.


  • Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭T-K-O


    PrzemoF wrote: »
    OP, wifi up&running or you gave up?

    No I've not given up, i'm taking two courses at the same time and this was eating up a lot of time.. I did follow you advice but I believe the problem is with firmware not installing correctly.. Like I said I'm new Linux and probably making some school boy error.

    I came up with a master plan to dual boot Ubuntu on my laptop so I can get familiar with Linux and run backtrack on a virtual machine on my mac, I got wireless via the mac but the pipe key doesn't work :)

    Anyway thanks for the assistance, I'll report back and let you guys know how I get on


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,579 Mod ✭✭✭✭Capt'n Midnight


    Get a USB wifi card

    surf the web or borrow keys to find one that supports injection, avoid Belkin because they re-badge their cards, there is one model there that has FIVE different chipsets :eek: depending on which sub-revision it is

    get virtual box from virtualbox.org as the one in ubuntu doesn't include USB support because of rights issues
    and backtrack can take control of the USB key from the host computer

    I had a netopia that worked, can't remember the model number but it was cyan and transparent


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    The one in his computer supports injection on Backtrack though :confused:


Advertisement