Page 46 of 99 FirstFirst ... 3644454647485696 ... LastLast
Results 451 to 460 of 981

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

  1. #451
    Join Date
    Apr 2008
    Beans
    48

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

    Hmmm... when i got tired of keyring asking me for my password every time I just disabled roaming mode and set up a manual connection. easy as pie!

    boy am I glad I never had to go though so much trouble.

    excellent document though dude

  2. #452
    Join Date
    Apr 2008
    Beans
    4

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

    Hello,
    I'm a newbie in this whole Ubuntu thing. I just installed ubuntu 8.04 and right off the bat my wireless card isn't seeing any wireless network. I tried to manually enter the essid, however It just shows the wireless network with 0% signal (i tried pinging to see if there actually was a connection but timeout). it's an open wireless network no wep or wpa. I know that the card isn't malfunctioning, because it worked flawlessly in windows.

    I tried to follow the guide here and here's what i got (i have no idea what all of this means though):

    firas@firas-laptop:~$ lshw -C network
    WARNING: you should run this program as super-user.
    *-network
    description: Wireless interface
    product: PRO/Wireless 3945ABG Network Connection
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:05:00.0
    logical name: wmaster0
    version: 02
    serial: 00:18:de:5c:64:d5
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master cap_list logical ethernet physical wireless
    configuration: broadcast=yes driver=iwl3945 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
    *-network
    description: Ethernet interface
    product: PRO/100 VE Network Connection
    vendor: Intel Corporation
    physical id: 8
    bus info: pci@0000:08:08.0
    logical name: eth0
    version: 02
    serial: 00:16:d3:12:21:b5
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI firmware=N/A ip=192.168.2.146 latency=66 maxlatency=56 mingnt=8 module=e100 multicast=yes
    firas@firas-laptop:~$ sudo ifconfig wmaster0 down
    [sudo] password for firas:
    firas@firas-laptop:~$ sudo dhclient -r wmaster0
    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/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wmaster0/
    Sending on LPF/wmaster0/
    Sending on Socket/fallback
    firas@firas-laptop:~$ sudo ifconfig wmaster0 up
    firas@firas-laptop:~$ iwconfig wmaster0 essid "firas-wireless 3"
    Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wmaster0 ; Operation not permitted.
    firas@firas-laptop:~$ iwconfig wmaster0 mode Managed
    Error for wireless request "Set Mode" (8B06) :
    SET failed on device wmaster0 ; Operation not permitted.
    firas@firas-laptop:~$ sudo dhclient wmaster0
    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/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wmaster0/
    Sending on LPF/wmaster0/
    Sending on Socket/fallback
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 4
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    firas@firas-laptop:~$


    please someone help

  3. #453
    Join Date
    Aug 2005
    Beans
    43
    Distro
    Ubuntu

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

    Kevdog, I have a problem I don't see mentioned here yet.

    Each time I run iwlist the output differs. Let's say there are eight wifi networks I can pick up from my living room: mine plus seven of my careless neighbors. Each time I run iwlist, I get six or seven of them. Sometimes mine is listed, sometimes it isn't.

    This is more than an annoyance, see my other post in another thread which explains why this is a big deal for me.

    Any suggestions?

  4. #454
    Join Date
    Apr 2008
    Location
    Jamaica
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Great post, i read thorugh it and now feel uber knowledgeable on the topic already lol.

    I have a question though. I notice that one of the requirements is that the essid MUST be broadcasted. Is there a way to autoconnect even if the essid isnt being broadcasted, if so then how. If not, then i assume i'll have to enter username and password everytime i wanna log in then right?

  5. #455
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,605
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    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!

  6. #456
    Join Date
    Jun 2007
    Location
    UK
    Beans
    88
    Distro
    Xubuntu 12.10 Quantal Quetzal

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

    I really appreciate your collective help.

    (Nevertheless I still need it!) Why, when I type sudo iwconfig eth1 essid "MyNetworkName" and then iwconfig eth1 does the essid still carry the wrong information?

    Currently, I can only see a wireless signal when I turn on on "roaming mode". But I still can't connect.

    My router is set to WPA-PSK (I control this) and an unsecured network is unworkable for me. I guess that's WPA(1) but it doesn't say.

    Slowly..forced..to surrender.

  7. #457

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

    The OP worked for my setup perfectly. I have used it with Mint (my current setup), Kubuntu, and Ubuntu Dapper & Gutsy. Thinkpad x22. My wireless card is one of those dang Linksys WPC54g v2 - acx111 chipset. No ndiswrapper needed!

  8. #458
    Join Date
    Apr 2008
    Beans
    4

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

    firas@firas-laptop:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:16:d3:12:21:b5
    inet addr:192.168.2.146 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::216:d3ff:fe12:21b5/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:391 errors:0 dropped:0 overruns:0 frame:0
    TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:208264 (203.3 KB) TX bytes:47203 (46.0 KB)

    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:1978 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1978 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:98900 (96.5 KB) TX bytes:98900 (96.5 KB)

    wlan0 Link encap:Ethernet HWaddr 00:18:de:5c:64:d5
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    wmaster0 Link encap:UNSPEC HWaddr 00-18-DE-5C-64-D5-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    firas@firas-laptop:~$

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

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

    firas
    --Your interface is wlan0 and not wmaster0

    togo59
    There is no roaming mode -- that is completely related to network manager -- You could uninstall network manager and still completely connect through the command line if you wanted. This is a complete manual connection method -- you control everything!

    You need to post some specific commands if you want to get appropriate help. Your posts are very vague.

  10. #460
    Join Date
    Apr 2008
    Beans
    4

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

    firas@firas-laptop:~$ sudo ifconfig wlan0 down
    [sudo] password for firas:
    firas@firas-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/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wlan0/00:18:de:5c:64:d5
    Sending on LPF/wlan0/00:18:de:5c:64:d5
    Sending on Socket/fallback
    firas@firas-laptop:~$ sudo ifconfig wlan0 up
    firas@firas-laptop:~$ iwconfig wlan0 essid "firas-wireless 3"
    Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.
    firas@firas-laptop:~$ iwconfig wlan0 mode Managed
    Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.
    firas@firas-laptop:~$ sudo dhclient wmaster0
    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/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wmaster0/
    Sending on LPF/wmaster0/
    Sending on Socket/fallback
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 8
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    firas@firas-laptop:~$


    I still got the same error... so i'm guess it doesn't have to do with the logical name of my card.

Page 46 of 99 FirstFirst ... 3644454647485696 ... 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
  •