Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[CLOSED]Configuring a wifi network manually

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
pidlas
Posts: 4
Joined: 2017-05-01 14:22

[CLOSED]Configuring a wifi network manually

#1 Post by pidlas »

Hi,

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
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.254
dns-nameservers 212.27.40.240 212.27.40.241 # 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
			HT20/HT40
			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 127.0.0.1/8 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 192.168.0.51/24 brd 192.168.0.255 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

iwconfig
is not on my Debian Jessie system. I use

Code: Select all

iw
instead. But is it OK ?

Thanks for your help and assistance.

KR.
Last edited by pidlas on 2017-05-07 11:52, edited 5 times in total.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Configuration d'une interface réseau wifi

#2 Post by phenest »

Parlez vous anglais?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D


User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Configuration d'une interface réseau wifi

#4 Post by GarryRicketson »

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:
https://wiki.debian.org/DebianResources
French

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.

pidlas
Posts: 4
Joined: 2017-05-01 14:22

Re: Configuration d'une interface réseau wifi

#5 Post by pidlas »

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

Kind Regards.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Configuration d'une interface réseau wifi

#6 Post by Bulkley »

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.

Post Reply