Page 87 of 98 FirstFirst ... 3777858687888997 ... LastLast
Results 861 to 870 of 978

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

  1. #861
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Sorry for my bad mistake. Now it works. Thanks a lot!
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  2. #862
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,650
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    Ok not to confuse you farther, however since you know it is working, you know longer need the -dd flag (this is a flag for double debugging output). I would now add the -B flag to send the process to the background. It would be something similar to this:

    sudo wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

    Because the process is being run in the background, you can type the command and the dhclient command in the same terminal window.

  3. #863
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Hi, it's me again. since by notebook freeze randomly at boot up [actually I started another thread about this issue:http://ubuntuforums.org/showthread.php?t=1085758 ], I want to reinstall ndiswrapper again. I follow another guide by you about installing ndiswrapper http://ubuntuforums.org/showthread.p...Kevdog&page=31
    and I have problem while running this command:
    sudo ndiswrapper -m
    Code:
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    what should I do? thanks !
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

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

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

    Ignore the warning. ndiswrapper is probably listed in /etc/modules

  5. #865
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    I want falling back to the native driver of realtek 8187 driver provided by Ubuntu by default because I doubt the ndiswrapper driver of win 98 version is the cause of freezing at "Loading manual drivers..." during bootup.

    I clicked complete removal of ndisgtk, ndiswrapper-utils-1.9 and ndiswrapper-common in Synaptic. Then I run the following command according to your ndiswrapper howto http://ubuntuforums.org/showthread.p...ghlight=Kevdog in order to ensure a clean uninstallation:
    Code:
    sudo aptitude purge ndiswrapper
    sudo rm /etc/modprobe.d/ndiswrapper
    sudo sh -c "sed '/^ndiswrapper$/d' /etc/modules > /etc/modules.temp.rm; mv /etc/modules.temp.rm /etc/modules"
    sudo rmmod ndiswrapper
    sudo /lib/modules/`uname -r`/kernel/ubuntu/misc/ndiswrapper/ndiswrapper.ko
    sudo rm -rf /etc/ndiswrapper
    sudo rm /usr/sbin/ndiswrapper
    sudo rm /sbin/loadndisdriver
    sudo rm /lib/modules/`uname -r`/misc/ndiswrapper.ko
    Then I check my /etc/modprobe.d/blacklist to ensure blacklist 818x and blacklisk 8187 are commented out. The extract of my /etc/modprobe.d/blacklist
    Code:
    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp
    
    #blacklist r818x
    #blacklist r8187
    then I run lshw -C network and the default driver seems not coming back. There is no driver installed for wlan realtek 8187?
    Code:
     lshw -C network 
      *-network
           description: Wireless interface
           physical id: 2
           logical name: wlan0
           serial: 00:22:43:74:7b:05
           capabilities: ethernet physical wireless
           configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg
    Here's the result of lsmod|grep 818
    Code:
     lsmod|grep 818
    rtl8187                53248  0 
    mac80211              216820  1 rtl8187
    eeprom_93cx6           10240  1 rtl8187
    cfg80211               32392  2 rtl8187,mac80211
    usbcore               149360  7 rtl8187,usb_storage,libusual,usbhid,ehci_hcd,ohci_hcd
    Thanks!

    edit: and when I run modprobe r818x and modprobe r8187
    Code:
    coppen@coppen-laptop:/etc/modprobe.d$ cd
    coppen@coppen-laptop:~$ sudo modprobe r818x
    [sudo] password for coppen: 
    FATAL: Module r818x not found.
    coppen@coppen-laptop:~$ sudo modprobe r8187
    FATAL: Module r8187 not found.
    Last edited by afeasfaerw23231233; March 4th, 2009 at 07:12 AM.
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

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

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

    I haven't kept abreast of the latest realtek drivers within the newer kernels since writing this guide. I am no longer certain they are called r8187 or r818x. They could possibly be called something else. You are going to have to look keeping your kernel version as a reference. This can be found with uname -r. Google might be your best fried here!

  7. #867
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Oh mine... I google around and cannot find any useful information. I think I have to go back to ndiswrapper.
    I feel dizzy now......
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  8. #868
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Hi, I finally got the native driver rtl8187 installed. But this time I cannot connect even without encryption.

    Here's the result:
    Code:
    coppen@coppen-laptop:~$ iwlist scan
    lo        Interface doesn't support scanning.
    
    eth0      Interface doesn't support scanning.
    
    wmaster0  Interface doesn't support scanning.
    
    wlan0     No scan results
    
    coppen@coppen-laptop:~$ sudo ifconfig wlan0 down
    [sudo] password for coppen: 
    coppen@coppen-laptop:~$ sudo dhclient -r wlan0
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 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:22:43:74:7b:05
    Sending on   LPF/wlan0/00:22:43:74:7b:05
    Sending on   Socket/fallback
    DHCPRELEASE on wlan0 to 192.168.123.1 port 67
    send_packet: Network is unreachable
    send_packet: please consult README file regarding broadcast address.
    coppen@coppen-laptop:~$ sudo ifconfig wlan0 up
    coppen@coppen-laptop:~$ sudo iwconfig wlan0 essid "homerouter269x"
    coppen@coppen-laptop:~$ sudo iwconfig wlan0 mode Managed
    coppen@coppen-laptop:~$ sudo dhclient wlan0
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 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:22:43:74:7b:05
    Sending on   LPF/wlan0/00:22:43:74:7b:05
    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 5
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    Then I tried install wicd and wicd connected immediately. But wicd suffered from random disconnection due to the lack of a suffix on ESSID as you mentioned on the first post.
    Why this time I can't get dhclient work with the native driver?
    Thanks!

    EDIT: or is their any method to add a suffix for ESSID in wicd? Sorry that it is off-topic.
    Last edited by afeasfaerw23231233; March 4th, 2009 at 06:18 PM.
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  9. #869
    Join Date
    Feb 2009
    Beans
    2

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

    This HowTo is excellent. However it is missing one important thing: if NetworkManager is installed (which it is by default, at least on Jaunty), you must first stop NetworkManager:

    sudo /etc/init.d/NetworkManager stop

    If you don't do this, and you're not running the NetworkManager applet (I run FVWM instead of gnome), then everything looks perfect in ifconfig and iwconfig, yet the wireless card will not associate with an access point.

  10. #870
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,650
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    I'm not sure if what you are telling me is correct. Ive been able to make a manual connection with network manager connected and running in the background. I haven't used Jaunty yet, however I can confirm this statement based on all versions back to Feisty. Its possible the interface wasn't taken down correctly or something. Maybe I can confirm your statement later when Jaunty final is released and I actually install it!

Page 87 of 98 FirstFirst ... 3777858687888997 ... 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
  •