1 (edited by lme 2017-11-03 09:58:49)

Topic: ethernet connection keeps connecting and disconnecting

Hello everyone!

I am quite new to linux distros and absolute linux in particular, so bear with me if i ask "stupid questions" for i am indeed a newbie. Here it comes:

Yesterday i set up Absolute linux on an old SAMSUNG netbook (model NP-N130, specs here: http://www.samsung.com/us/computer/pcs/ … 04US-specs), using rufus 2.17 to create a bootable usb from the absolute-14.2.iso. Choosing the "default guided installation" it worked quite well and installed without problems.

I ran into my first issue, when i plugged my ethernet cable in: The network centre cycles as follows:
~1s: trying to connect
~0.5s: connected
~1s: disconnected

During the 0.5 seconds i am indeed able to load websites (tried it with the google.com frontpage under the preinstalled firefox).

I am running into a similar problem trying to connect to my wi-fi. It connects for a really short period before it disconnects automatically and stays disconnected until i prompt it to connect again.

From my perspective, the fault should lie with either the distro-intrinsic networking protocols, missing drivers for the notebooks network-card or my router.

Does someone have an idea how i can check and fix this connectivity problem?

If you need additional information provided, just tell me the needed console-commands (as i said, i am pretty new to this and linux in general).

Kind regards and thanks in advance,
Ludwig


P.S.: oh, and i accidentally installed a qwerty-us-keymapping. Is there any console command that switches it to qwertz-germany mapping? I tried some digging in the forums and wiki for slackware, but the commands i found don't quite do the trick, especially when i try to permanently change it for all users, not just one-session-one-user. It is more of a minor annoyance at this point, but help would be appreciated smile

2 (edited by shevy 2018-01-13 06:45:00)

Re: ethernet connection keeps connecting and disconnecting

Hello Ludwig,

I also had the same problem as you had. I do not how or why but dhcpcd was running already (I could connect via shaky internet connection as well).

I tried to kill it by the PID via k9 - and then I got the surprising message that the no program was running via dhcpcd.

I looked at "ps ax" or "ps aux", I forgot, and ... it was running, but at another PID.

I think that there is some script that constantly tries to respawn dhcpd. Running dhcpcd manually
also led to some kind of conflict. This was surprising to me because normally dhcpcd "just works"
without problem.

I then recompiled dhcpcd after I removed the default one at /sbin/ (via rm; I have all programs
archived locally too). This is not the recommended way, to just remove it - it just was brute
force. :-)

Afterwards I could use my self-compiled dhcpcd (at another prefix location though) just fine
without problem and my internet connection is stable. I guess there is some script with
a hardcoded path wired to /sbin/ and it detects some problem that leads to some infinite
respawn cycle, so my idea was to just disrupt this cycle, without even knowing which
script is responsible).

I am not sure if this helps in your case but I wanted to mention it; I write this rom absolute,
already compiled mate-desktop + xfce from source (using mate-terminal as main terminal
right now). Next steps for me will be the KDE stack; qt-5.10.0 I have already compiled.
(I use a set of ruby scripts to help me compile everything, but the quality of these scripts
is not great ... it's more hackish, but it works for me case).

I guess the faulty dhcdp-related script will eventually be fixed.

As for the keyboard, I use a german variant without deadkeys so I can relate to your problem.

I usually use:

  setxkbmap -model pc105 -layout de -variant nodeadkeys -v 10

I think th ere is some file where you can put it... a xorg file or something. I do not remember offhand
... perhaps xinit works? Or some other file. I usually just call an alias when I am in xorg (I
usually use fluxbox; there is some file called init for fluxbox where commands can be put;
I also use xfce and mate-desktop when I need a bit more of a GUI; KDE I only use kde konsole
really, not the rest ... big_smile).

Awesome distributions: slackware-family, GoboLinux, VoidLinux and in general all systemd-free variants

Re: ethernet connection keeps connecting and disconnecting

I have to say that its a Slackware based thing because Zenwalk and Vector do the same thing... I've never been able to resolve it on my machines so unfortunately I cannot use Absolute anymore as I find internet connectivity is a vital part of computing nowadays....

I'll keep watching this thread in the hopes that the developer could help in some way..?

Re: ethernet connection keeps connecting and disconnecting

> I have to say that its a Slackware based thing because Zenwalk and Vector do the same thing.

Perhaps there are some scripts shared, I do not know. But I can also tell you that I do not
have the same problem on slackware. There, I can use dhcpcd just fine without it being
constantly respawned, so I think that it is something that has more to do with absolute
linux than slackware itself or perhaps the kernel.

I am sure psherman will eventually get to find out which is the faulty part. For me things work
here very fine after having compiled dhcpcd.

Awesome distributions: slackware-family, GoboLinux, VoidLinux and in general all systemd-free variants