[CLOSED]Configuring a wifi network manually

Kernels & Hardware, configuring network, installing services

[CLOSED]Configuring a wifi network manually

Postby pidlas » 2017-05-01 14:37


I've been trying for the past few days to manually configure my network interfaces to get rid of network-manager, wicd, etc. I was successfull with my Ethernet D-LINK board. But I am stuck with my wifi board (D-LINK System Inc DWL-510 / DWL-610 [Realtek RTL8180L] (rev20) driver rtl818x_pci, kernel v2.6.25-, pciid 11863300). I have been trying so many other solutions that I now need some guidance. I have no 'wpa_supplicant.conf' in /etc. I do not think the problem is with the installation. File '/etc/network/interfaces' is as below :
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# Modifications PI 30/04/17
auto eth0
iface eth0 inet static
dns-nameservers # DNS Free

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "freebox_idlas"
wpa-psk "ce5e31a930c814da382a989fb12150429fcf52b54687e5f9e518d385f7e9f4e5"

I am not sure that wpa-ssid and wpa-psk are syntaxically right. I have seen some other examples starting with wireless-.

Code: Select all
iw wlan0 scan
says :
Code: Select all
BSS a6:56:0b:36:99:6c(on wlan0)
   TSF: 31815671307 usec (0d, 08:50:15)
   freq: 2462
   beacon interval: 100 TUs
   capability: ESS Privacy ShortSlotTime (0x0411)
   signal: 80/100
   last seen: 440 ms ago
   Information elements from Probe Response frame:
   SSID: freebox_idlas
   Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
   DS Parameter set: channel 11
   ERP: Barker_Preamble_Mode
   Extended supported rates: 6.0 12.0 24.0 48.0
   HT capabilities:
      Capabilities: 0x106e
         SM Power Save disabled
         RX HT20 SGI
         RX HT40 SGI
         No RX STBC
         Max AMSDU length: 3839 bytes
         DSSS/CCK HT40
      Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      Minimum RX AMPDU time spacing: 4 usec (0x05)
      HT RX MCS rate indexes supported: 0-15, 32
      HT TX MCS rate indexes are undefined
   HT operation:
       * primary channel: 11
       * secondary channel offset: below
       * STA channel width: any
       * RIFS: 0
       * HT protection: no
       * non-GF present: 1
       * OBSS non-GF present: 0
       * dual beacon: 0
       * dual CTS protection: 0
       * STBC beacon: 0
       * L-SIG TXOP Prot: 0
       * PCO active: 0
       * PCO phase: 0
   Secondary Channel Offset: no secondary (0)
   WPA:    * Version: 1
       * Group cipher: TKIP
       * Pairwise ciphers: TKIP CCMP
       * Authentication suites: PSK
   WMM:    * Parameter version 1
       * BE: CW 15-1023, AIFSN 3
       * BK: CW 15-1023, AIFSN 7
       * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
       * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
   Extended capabilities: HT Information Exchange Supported

Code: Select all
sudo ifup wlan0
says :
give the following output :
Code: Select all
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0.

Code: Select all
ip addr show
says :
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 00:0d:88:cd:41:00 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20d:88ff:fecd:4100/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 00:0d:88:cd:41:01 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 00:0d:88:cd:41:02 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 00:0d:88:cd:41:03 brd ff:ff:ff:ff:ff:ff
6: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:13:46:29:9f:d4 brd ff:ff:ff:ff:ff:ff

Code: Select all
is not on my Debian Jessie system. I use
Code: Select all
instead. But is it OK ?

Thanks for your help and assistance.

Last edited by pidlas on 2017-05-07 11:52, edited 5 times in total.
Posts: 4
Joined: 2017-05-01 14:22

Re: Configuration d'une interface réseau wifi

Postby phenest » 2017-05-01 14:48

Parlez vous anglais?
Dell XPS 17 L702X i7 2860QM 2.5GHz - 32GB RAM - 4G WWAN - Pioneer TD05-BDR
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS P8P67 EVO i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
Posts: 1401
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Configuration d'une interface réseau wifi

Postby dasein » 2017-05-01 14:54

Pour l'aide en français: https://www.debian-fr.org/
User avatar
Posts: 7373
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Configuration d'une interface réseau wifi

Postby GarryRicketson » 2017-05-01 14:59

Please take the time to translate the posts to English, that is the language being used
on the forum.
Or use one of the many French sites listed here:

http://debian-facile.org - Debian-Facile - Debian related doc, news and forums.

http://www.debian-fr.org - Debian-fr - Debian related doc.

http://www.devloprog.org/admin - DevloProg - Debian admin related tips.

https://www.debian-fr.xyz - Debian-fr.xyz - Debian forum related doc. and tutorials.
User avatar
Posts: 3864
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Configuration d'une interface réseau wifi

Postby pidlas » 2017-05-01 15:06

Sorry :oops: I do speak English. Above message translated.

Kind Regards.
Posts: 4
Joined: 2017-05-01 14:22

Re: Configuration d'une interface réseau wifi

Postby Bulkley » 2017-05-01 16:54

iwconfig is not on my Debian Jessie system. I use iw instead. But is it OK ?

The installed package iw should include iwconfig. They have to be used in SU mode.

Here's an old thread that might be of interest. [SOLVED] Troubleshooting wireless connection failures?

Here are basic instructions. [urlhttps://wiki.debian.org/WiFi/HowToUse=]How to use a WiFi interface[/url]

If your machine is a laptop that you move around a lot you might want to look at this. Setup wpa_gui and roaming on Debian

By the way, wpa_supplicant.conf is not installed by default. You have to create it.
Posts: 5100
Joined: 2006-02-11 18:35

Return to System configuration

Who is online

Users browsing this forum: williamk and 7 guests