Page 48 of 99 FirstFirst ... 3846474849505898 ... LastLast
Results 471 to 480 of 981

Thread: How To: Manual Network Configuration without the need for Network Manager

  1. #471
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,600
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    Change made to the guide -- yes a major oversight by me -- thanks for submitting the correction!

  2. #472
    Join Date
    Sep 2007
    Location
    Missouri, USA
    Beans
    89
    Distro
    Ubuntu 10.04 Lucid Lynx

    Arrow Re: How To: Manual Network Configuration without the need for Network Manager

    Quote Originally Posted by kevdog View Post
    Change made to the guide -- yes a major oversight by me -- thanks for submitting the correction!
    Hey, I found one more spot! I didn't think of it before, but the original page I landed on has a duplicate of the guide in this thread, and it's in the networking category. It needs the update as well.

    http://ubuntuforums.org/showthread.php?t=684495

    There may be a few other differences lurking about, too!

  3. #473
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,600
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    Its really hard to maintain two posts -- I wish there was a way that the BB program could just link to one post so changes made to one copy would be shown in both!!! Obviously the master copy for me is in the T&T section.

  4. #474
    Join Date
    Sep 2007
    Location
    Missouri, USA
    Beans
    89
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Manual Network Configuration without the need for Network Manager

    Quote Originally Posted by kevdog View Post
    Its really hard to maintain two posts -- I wish there was a way that the BB program could just link to one post so changes made to one copy would be shown in both!!! Obviously the master copy for me is in the T&T section.
    I'm surprised there isn't a way since this is a fairly common situation on web forums. So I guess you're stuck with a copying the new version over the old one every time.

    You know, maybe just deleting the guts of the one sticky guide and replacing it with a URL to the main one. That should work fine, I think.

  5. #475
    Join Date
    Aug 2005
    Beans
    43
    Distro
    Ubuntu

    Re: How To: Manual Network Configuration without the need for Network Manager

    Quote Originally Posted by kevdog View Post
    As far as hidden broadcasts, this sometimes works, if you just give it the name, however there is definitely a problem with linux in general connecting to hidden networks. If you do the manual connection way, proceed if you were seeing the networks. It might or might not work.

    --iwlist scan only shows networks in the area. If yours is sometimes shown and sometimes not --- then are you really close to the access point? No interference nearby? I don't have an easy fix for your problem, b/c if you cant see your network, you obviously can't connect to it.

    --wmaster0 is most likely the actual interface for the hardware, however I believe (I don't have an intel networking card), that when using an intel wireless device you actually have to issue commands through the virtual interface (which then talks to the real interface). Yes very confusing however the use of virtual interfaces is common if you need to set up two configurations or do something like airsnort in router mode (madwifi does the same thing). If you post ifconfig hopefully we can get this mess straightened out!
    kevdog, I get varying results from iwlist scan regardless of proximity...

    My wifi router is in a small closet off my "office". Ok, I'll admit that there's a chance for interference, because in a 12 sq. ft. room I have:

    * an Ubuntu server box
    * wifi router
    * laser printer
    * inkjet printer
    * mini printer server
    * a 4-port switch

    However, when I do connect to my home network, the connection is rock-solid (whether I'm 10 ft. away at my desk, or 50 ft. away in the back yard, through multiple walls). Same behavior happened last week in my hotel room: one moment the SSID was there, the next it disappeared (but when connected it's solid).

    I'm beginning to wonder if SSID broadcast is not continuous - i.e. more of a "pulse" or repeating signal, and sometimes iwlist runs in between the pulses.

  6. #476
    Join Date
    Sep 2007
    Location
    Missouri, USA
    Beans
    89
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Manual Network Configuration without the need for Network Manager


    Compaq r4010us w/ Broadcom 4306 on Gutsy


    Well, I'm back. While I did get static IP running successfully, now I'm trying to get WPA up and running, and it just won't go.

    My router is presently set to:

    * Broadcast SSID
    * TKIP

    I have tried numerous combinations of things between the rc.local and wpa_supplicant.conf files, and have seen 3 different results, but no success. Too many combinations to list, but I'll give you the jist of it and then I can try your suggestions.

    One difference is when I toggle the AP SCAN between 1 and 0. With one of them it stalls at something like "EAPOL: startwhen --> 0". With the other it stalls at something like " wireless event: cmd=0xcb08 len=8 ".

    The other difference, which I've seen many times, but I am unable to recall how to get it this morning, results in a continuous, stream of data, pausing in two repeating spots.....actually, I think that's when I experimented by replacing 'wext' with 'ndiswrapper' in wpa...conf.

    Ftr, iwlist scan shows the pairwise and group info to be " WEP-40 " for my router. Just as an experiment I typed these into wpa...conf, and it yielded cipher errors.
    Last edited by spaceboy909; May 13th, 2008 at 06:31 PM. Reason: clarification

  7. #477
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,600
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    With any WPA errors you need to post your wpa_supplicant.conf file, and your command line statement that invokes wpa_supplicant. Dont worry about the WEP40 line. Its wpa. Also post iwlist scan.

  8. #478
    Join Date
    Sep 2007
    Location
    Missouri, USA
    Beans
    89
    Distro
    Ubuntu 10.04 Lucid Lynx

    Arrow Re: How To: Manual Network Configuration without the need for Network Manager

    Ok, here's the beef!

    wpa_supplicant.conf:
    Code:
    ap_scan=1
    ctrl_interface=/var/run/wpa_supplicant
    
    network={
    
        ssid="stoog"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-PSK
        psk="AAAAAAAA"
        pairwise=TKIP
        group=TKIP
    }
    I'm implementing wpa with the rc.local script per your guide:
    Code:
    ifconfig eth0 down
    ifconfig wlan0 down
    dhclient -r eth0
    dhclient -r wlan0
    ifconfig wlan0 192.168.1.102 netmask 255.255.255.0
    route add default gw 192.168.1.1
    wpa_supplicant -w -D wext -i wlan0 -c /etc/wpa_supplicant.conf -dd 
    ifconfig wlan0 up
    iwconfig wlan0 essid "stoog"
    iwconfig wlan0 mode Managed
    
    exit 0
    iwlist scan: (Cell 01 / stoog - is my router)
    Code:
    root@defaullt:/etc# iwlist scan
    lo        Interface doesn't support scanning.
    
    wlan0     Scan completed :
              Cell 01 - Address: 00:0F:66:53:E9:E1
                        ESSID:"stoog"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.452 GHz (Channel 9)
                        Quality:81/100  Signal level:-44 dBm  Noise level:-96 dBm
                        Encryption key:on
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                                  12 Mb/s; 48 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
                        IE: WPA Version 1
                            Group Cipher : WEP-40
                            Pairwise Ciphers (1) : WEP-40
                            Authentication Suites (1) : PSK
              Cell 02 - Address: 00:16:01:D1:19:3F
                        ESSID:"SkyRanch38"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.462 GHz (Channel 11)
                        Quality:9/100  Signal level:-90 dBm  Noise level:-96 dBm
                        Encryption key:off
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                                  12 Mb/s; 48 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
              Cell 03 - Address: 00:16:01:B9:A3:AB
                        ESSID:"SkyRanch37"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.462 GHz (Channel 11)
                        Quality:9/100  Signal level:-90 dBm  Noise level:-96 dBm
                        Encryption key:off
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                                  12 Mb/s; 48 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
    
    eth0      Interface doesn't support scanning.

  9. #479
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,600
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    Ok skip the rc.local file for a moment.

    Try this

    ctrl_interface=/var/run/wpa_supplicant
    network={
    ssid="stoog"
    proto=WPA
    key_mgmt=WPA-PSK
    psk="AAAAAAAA"
    pairwise=TKIP
    group=TKIP
    }

    At command line:

    sudo ifconfig wlan0 down
    sudo dhclient -r wlan0
    sudo ifconfig wlan0 192.168.1.102 netmask 255.255.255.0
    sudo iwconfig wlan0 essid "stoog"
    sudo iwconfig wlan0 mode Managed
    sudo wpa_supplicant -Bw -Dwext -iwlan0 -c /etc/wpa_supplicant.conf

    If that doesn't work, substiture the following:
    sudo wpa_supplicant -w -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -dd

    Post output!
    Last edited by kevdog; May 13th, 2008 at 11:10 PM.

  10. #480
    Join Date
    Sep 2007
    Beans
    40

    Re: How To: Manual Network Configuration without the need for Network Manager

    I'm almost there...
    I have an eMachines N-10, with a realtek rtl8185 wireless card.
    I've installed the driver through this page method
    HTML Code:
    http://www.willdaniels.co.uk/articles/10-howto/12-r8180-hardy
    succefully, but I can't get WPA to work when i try to do manual configuration:
    Here's the output when I type
    Code:
    sudo wpa_supplicant -w -D<****see footer below***> -i<interface> -c/etc/wpa_supplicant.conf
    on step 2 of WPA Connection(replacing where necessary)
    Code:
    root@gonzalo-laptop:/home/gonzalo/rtl8185# wpa_supplicant -w -Dipw -iwlan0 -c/etc/wpa_supplicant.conf
    Linux wireless extensions version 22 detected.
    ipw2x00 driver uses driver_wext (-Dwext) instead of driver_ipw.
    Trying to associate with xx:xx:xx:xx:xx:xx (SSID='xxxxxxxxx' freq=2442 MHz)
    ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Associated with xx:xx:xx:xx:xx:xx
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Associated with xx:xx:xx:xx:xx:xx
    WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=TKIP GTK=TKIP]
    CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed (auth) [id=0 id_str=]
    and then it freezes, i must CTRL-C to get back control.
    Any guesses?

    EDIT:Here are the results if I continue anyway
    Code:
    root@gonzalo-laptop:/home/gonzalo/rtl8185# dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 134519072
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/xx:xx:xx:xx:xx:xx
    Sending on   LPF/wlan0/xx:xx:xx:xx:xx:xx
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    Last edited by GonzalitoUY; May 14th, 2008 at 12:36 AM.

Page 48 of 99 FirstFirst ... 3846474849505898 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •