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

 

 

 

advice loading system

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

advice loading system

#1 Post by awachens »

Hi guys, i have this advice when im loading debian 9 :

Image
https://s10.postimg.org/uv3s2ql09/Archi ... _16_33.jpg

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#2 Post by Head_on_a_Stick »

That's quite normal with some network configuration, how long does it actually make you wait?

Which networking tools are you using to connect?

If you don't know then please post the output of:

Code: Select all

systemctl list-unit-files | grep enabled
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#3 Post by awachens »

Hi good morning !

Is delayed like... more than one minute...

Code: Select all

nobo@debian:~$ systemctl list-unit-files | grep enabled
anacron.service                            enabled  
autovt@.service                            enabled  
avahi-daemon.service                       enabled  
console-setup.service                      enabled  
cron.service                               enabled  
dbus-org.freedesktop.Avahi.service         enabled  
dbus-org.freedesktop.ModemManager1.service enabled  
dbus-org.freedesktop.nm-dispatcher.service enabled  
display-manager.service                    enabled  
getty@.service                             enabled  
keyboard-setup.service                     enabled  
lightdm.service                            enabled  
ModemManager.service                       enabled  
network-manager.service                    enabled  
networking.service                         enabled  
NetworkManager-dispatcher.service          enabled  
NetworkManager-wait-online.service         enabled  
NetworkManager.service                     enabled  
pppd-dns.service                           enabled  
resolvconf.service                         enabled  
rsyslog.service                            enabled  
syslog.service                             enabled  
systemd-timesyncd.service                  enabled  
avahi-daemon.socket                        enabled  
remote-fs.target                           enabled  
anacron.timer                              enabled  
apt-daily-upgrade.timer                    enabled  
apt-daily.timer                            enabled  
Regards !

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#4 Post by Head_on_a_Stick »

Can we please see the contents of /etc/network/interfaces
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#5 Post by awachens »

Good morning !!

Of course, here is:

Code: Select all

nobo@debian:~$ cat /etc/network/interfaces
# 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

#Wifi card
auto wlo1
iface wlo1 inet dhcp
	wpa-driver wext
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Regards.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#6 Post by Head_on_a_Stick »

awachens wrote:

Code: Select all

#Wifi card
auto wlo1
iface wlo1 inet dhcp
	wpa-driver wext
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Have you tried entering the wpa-ssid & wpa-psk directly? https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK

Do you need to specify the wext driver?

As you have NetworkManager running, you could also try removing that wlo1 stanza completely and let NM deal with it instead.
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#7 Post by awachens »

Hi guy good afternoon. I'm a little lost... What is stanza ?

I'm not sured if i need use wext...
Now i read about use WPA directly.

I have NM disabled (i think). If i use NM some times wifi is disconnected.

My connect with debian is really slow and inestable too... I don't know why...

Regards and thx !

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#8 Post by Head_on_a_Stick »

awachens wrote:What is stanza ?
Ah yes, sorry.

I meant that you try should removing the four lines in /etc/network/interfaces that control wlo1, this will let NetworkManager control wlo1 instead.
awachens wrote:My connect with debian is really slow and inestable too
What is your hardware?

Code: Select all

lspci -knn | grep -iA2 net
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#9 Post by awachens »

Ok, i remove the control of wlo1 in /et/network/interfaces

And this is the model and driver in use:

Code: Select all

nobo@debian:~$ lspci -knn | grep -iA2 net
02:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]
	Kernel driver in use: wl

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#10 Post by Head_on_a_Stick »

awachens wrote:this is the model and driver
Bad luck, that brand performs poorly under GNU/Linux :cry:

Try this:

Code: Select all

# iw dev wlo1 set power_save off
If it works, create a file at /etc/udev/rules.d/99-wireless-fix.rules with this content:

Code: Select all

ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlo*", RUN+="/sbin/iw dev %k set power_save off"
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#11 Post by awachens »

How can i know if this work?

I add these content, we will see.

Thx a lot !

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: advice loading system

#12 Post by Head_on_a_Stick »

awachens wrote:How can i know if this work?
Just try the first command and then use the system and see if the connection is then stable afterwards.

Only add the file if the first command actually works.
deadbang

User avatar
awachens
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

#13 Post by awachens »

Ok, when i deleted de Wlo1 config at

Code: Select all

/etc/network/interfaces
Advice disappear. Now im using NM how can i good... to connect.. But i should use LinSSid to search the id of my lan and then configure it on NM...

But i write this on correct post where we are talking about graphical GUI wifi search, ok ?

Thanks a lot.

Post Reply