Page 63 of 98 FirstFirst ... 1353616263646573 ... LastLast
Results 621 to 630 of 978

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

  1. #621
    Join Date
    Jul 2008
    Beans
    1

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

    I have a Palm Tungsten C and seem unable to connect to my BT Voyager 2500V router, I have a laptop and two PC one wireless and one wired. These all work fine, any clues or advice would be very much appreciated.

    I have contacted Palm and BT who seem unable to help, my Palm seems to recognise the Router but will not connect to the internet.

  2. #622
    Join Date
    Jul 2008
    Beans
    1

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

    Hello,

    Read the article, set it all up.

    Code:
    ap_scan=1
    ctrl_interface=/var/run/wpa_supplicant 
    
    network={
            ssid="lacasa"
            scan_ssid=0
            proto=WPA
            key_mgmt=WPA-PSK
            psk="mypass"
            pairwise=TKIP
            group=TKIP
    Then when I run the command "sudo wpa_supplicant -w -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd" I get the following output:

    Code:
    Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    ap_scan=1
    ctrl_interface='/var/run/wpa_supplicant'
    Line: 4 - start of a new network block
    ssid - hexdump_ascii(len=6):
         6c 61 63 61 73 61                                 lacasa          
    scan_ssid=0 (0x0)
    proto: 0x1
    key_mgmt: 0x2
    PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
    pairwise: 0x8
    group: 0x8
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    Priority group 0
       id=0 ssid='lacasa'
    Initializing interface (2) 'wlan0'
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
      capabilities: key_mgmt 0xf enc 0xf
    WEXT: Operstate: linkmode=1, operstate=5
    Own MAC address: 00:1c:26:66:94:20
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_countermeasures
    wpa_driver_wext_set_drop_unencrypted
    Setting scan request: 0 sec 100000 usec
    Added interface wlan0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    Wireless event: cmd=0x8b06 len=8
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Trying to get current scan results first without requesting a new scan to speed up initial association
    Received 4093 bytes of scan results (17 BSSes)
    Scan results: 17
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: 00:1e:e5:67:09:19 ssid='lacasa' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
       selected based on WPA IE
       selected WPA AP 00:1e:e5:67:09:19 ssid='lacasa'
    Try to find non-WPA AP
    Trying to associate with 00:1e:e5:67:09:19 (SSID='lacasa' freq=2462 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    WPA: using IEEE 802.11i/D3.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
    WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: clearing AP RSN IE
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    No keys have been configured - skip key clearing
    wpa_driver_wext_set_drop_unencrypted
    State: SCANNING -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    Wireless event: cmd=0x8b1a len=14
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    Wireless event: cmd=0x8c07 len=56
    AssocReq IE wireless event - hexdump(len=48): 00 06 6c 61 63 61 73 61 01 08 02 04 0b 16 0c 18 30 48 32 04 12 24 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    Wireless event: cmd=0x8c08 len=24
    AssocResp IE wireless event - hexdump(len=16): 01 08 82 84 8b 96 0c 18 30 48 32 04 12 24 60 6c
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:1e:e5:67:09:19
    Association info event
    req_ies - hexdump(len=48): 00 06 6c 61 63 61 73 61 01 08 02 04 0b 16 0c 18 30 48 32 04 12 24 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    resp_ies - hexdump(len=16): 01 08 82 84 8b 96 0c 18 30 48 32 04 12 24 60 6c
    WPA: set own WPA/RSN IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated with 00:00:00:00:00:00
    WPA: Association event - clear replay counter
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state CONNECTING
    EAPOL: SUPP_BE entering state IDLE
    Setting authentication timeout: 10 sec 0 usec
    Cancelling scan request
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    Added BSSID 00:1e:e5:67:09:19 into blacklist
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    State: ASSOCIATED -> DISCONNECTED
    After this it goes on trying to connect a few times more failing.

    Can anyone explain what I am doing / is going wrong?
    I also tried the ndsiwrapper for -D.

    Thank you for your time.

  3. #623
    Join Date
    Feb 2008
    Location
    United Kingdom
    Beans
    1,108
    Distro
    Ubuntu Jaunty Jackalope (testing)

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

    Hello,

    I have been using the manual configuration to get a conenction.
    This is my rc.local
    Code:
    ifconfig wlan0 up
    dhclient -r wlan0
    iwconfig wlan0 mode Managed essid "onone" key 443c6a1426 open
    dhclient wlan0
    Network manager does not work, nor does wicd.
    This is due to my wireless card being its self. The only way i can make an connection is by iwconfig key open . its the open which makes the conenction. Network manager just loops around.

    But the thing is,
    If I have a period of inactivity. maybe 10 mins..
    It drops the connection. And I cannot reconnect. even by running the commands again. No connection.
    I have to restart to connect.


    Please help me here. I really need help!

    HP Pavilion DV3505ea Laptop: Intel Core 2 Duo T5800 @ 2.0Ghz - 2GB RAM - 160GB HDD - nVidia GeForce 9300M GS - Intel 5100AGN Wireless

  4. #624
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    You need closing brackets in your config file:

    ap_scan=1
    ctrl_interface=/var/run/wpa_supplicant

    network={
    ssid="lacasa"
    scan_ssid=0
    proto=WPA
    key_mgmt=WPA-PSK
    psk="mypass"
    pairwise=TKIP
    group=TKIP
    }

    Notice the last closing bracket which you didnt post.

  5. #625
    Join Date
    Mar 2008
    Beans
    8

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

    I recently installed Ubuntu 8.04 with Wubi and I've been trying to get my wireless connection, but have been unsuccessful. I followed the step-by-step guide, but alas, no connection. Here is some info about my settings. Please let me know what I'm missing. Thanks in advance.

    james@james-laptop:~$ sudo ifconfig wlan0 down
    james@james-laptop:~$ sudo dhclient -r wlan0
    There is already a pid file /var/run/dhclient.pid with pid 6296
    killed old client process, removed PID file
    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/00:1a:73:1e:38:f7
    Sending on LPF/wlan0/00:1a:73:1e:38:f7
    Sending on Socket/fallback
    james@james-laptop:~$ sudo ifconfig wlan0 up
    james@james-laptop:~$ sudo iwconfig wlan0 essid "Rubis"
    james@james-laptop:~$ sudo iwconfig wlan0 key MY_WEP_KEY
    james@james-laptop:~$ sudo iwconfig wlan0 mode Managed
    james@james-laptop:~$ sudo dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 0
    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/00:1a:73:1e:38:f7
    Sending on LPF/wlan0/00:1a:73:1e:38:f7
    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 21
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.

    james@james-laptop:~$ lshw -C network
    WARNING: you should run this program as super-user.
    *-network DISABLED
    description: Ethernet interface
    product: 88E8038 PCI-E Fast Ethernet Controller
    vendor: Marvell Technology Group Ltd.
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: eth0
    version: 14
    serial: 00:e0:b8:bb:22:87
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A latency=0 module=sky2 multicast=yes
    *-network
    description: Wireless interface
    product: BCM94311MCG wlan mini-PCI
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:05:00.0
    logical name: wlan0
    version: 01
    serial: 00:1a:73:1e:38:f7
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11

    james@james-laptop:~$ iwlist scan
    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    wlan0 Scan completed :
    Cell 01 - Address: 00:13:10:E9:CA:96
    ESSID:"linksys_SES_57009"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.462 GHz (Channel 11)
    Quality:3/100 Signal level:-94 dBm Noise level:-96 dBm
    Encryption keyn
    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 02 - Address: 00:13:10:0E:E4:93
    ESSID:"Rubis"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.437 GHz (Channel 6)
    Quality:62/100 Signal level:-56 dBm Noise level:-96 dBm
    Encryption keyn
    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:18:3F:22:B5:79
    ESSID:"2WIRE455"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.437 GHz (Channel 6)
    Quality:29/100 Signal level:-77 dBm Noise level:-96 dBm
    Encryption keyn
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
    9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
    48 Mb/s; 54 Mb/s
    Extra:bcn_int=100
    Extra:atim=0

    james@james-laptop:~$ ifconfig
    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:224 errors:0 dropped:0 overruns:0 frame:0
    TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:11504 (11.2 KB) TX bytes:11504 (11.2 KB)

    wlan0 Link encap:Ethernet HWaddr 00:1a:73:1e:38:f7
    inet6 addr: fe80::21a:73ff:fe1e:38f7/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1240 (1.2 KB) TX bytes:2288 (2.2 KB)
    Interrupt:17 Memory:c0300000-c0304000

    wlan0:avahi Link encap:Ethernet HWaddr 00:1a:73:1e:38:f7
    inet addr:169.254.7.14 Bcast:169.254.255.255 Mask:255.255.0.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    Interrupt:17 Memory:c0300000-c0304000

  6. #626
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    Hmm try with unencrypted first -- always do a stepwise confirmation to prove the driver is working before adding security measures.

  7. #627
    Join Date
    Mar 2008
    Beans
    8

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

    Ok, I followed the unencrypted how-to and still nothing. Here's the results of the step by step.

    james@james-laptop:~$ sudo ifconfig wlan0 down
    james@james-laptop:~$ sudo dhclient -r wlan0
    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/00:1a:73:1e:38:f7
    Sending on LPF/wlan0/00:1a:73:1e:38:f7
    Sending on Socket/fallback
    james@james-laptop:~$ sudo ifconfig wlan0 up
    james@james-laptop:~$ sudo iwconfig wlan0 essid "Rubis"
    james@james-laptop:~$ sudo iwconfig wlan0 mode Managed
    james@james-laptop:~$ sudo dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 0
    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/00:1a:73:1e:38:f7
    Sending on LPF/wlan0/00:1a:73:1e:38:f7
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.

  8. #628
    Join Date
    Jul 2008
    Beans
    1

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

    Hello,

    I have recently bought a Dell M1330 with Ubuntu 7.10. I am having an issue with the wireless connection. During boot it gets stuck at a place, while the wifi light keeps blinking on and off. After around a minute of this the boot continues but the wifi light keeps blinking with no internet connection. I have to run

    sudo /etc/init.d/networking restart

    to get the internet connection working. Although it works, but it is a bit irritating. Is there anything I can do to avoid this boot problem.

    Thanks.
    Last edited by bohuroopee; July 19th, 2008 at 09:31 AM.

  9. #629
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    noma

    What driver/card/chipset are you using? Also router type.

  10. #630
    Join Date
    Mar 2008
    Beans
    8

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

    Driver being used is Ndiswrapper+bcmwl5. Card is a Broadcom BCM94311MCG wlan mini-PCI. Router is a Linksys WRT54G v2.2. I hope I didn't muck something up by ndiswrapper. I was following another how-to on getting this specific card to work.

Page 63 of 98 FirstFirst ... 1353616263646573 ... 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
  •