advice loading system

Kernels & Hardware, configuring network, installing services

advice loading system

Postby awachens » 2018-01-10 05:43

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

Image
https://s10.postimg.org/uv3s2ql09/Archi ... _16_33.jpg
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-10 06:20

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
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-11 05:44

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
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-11 06:08

Can we please see the contents of /etc/network/interfaces
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-12 05:27

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
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-12 06:34

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.
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-12 17:00

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
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-12 17:07

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
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-12 17:12

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
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-12 17:24

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"
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-12 17:32

How can i know if this work?

I add these content, we will see.

Thx a lot !
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: advice loading system

Postby Head_on_a_Stick » 2018-01-12 17:34

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.
User avatar
Head_on_a_Stick
 
Posts: 8010
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: advice loading system

Postby awachens » 2018-01-13 06:43

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.
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28


Return to System configuration

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable