#I haven't got wifi (fixed)

66 messages · Page 1 of 1 (latest)

fiery sonnet
#

@silent valve i have no network manager

#

k so how fo I do this

silent valve
#

printf '[Match]\nName=en*\n\n[Link]\nRequiredForOnline=routable\n\n[Network]\nDHCP=yes\n' > /etc/systemd/network/20-bananaphone.network && systemctl enable --now systemd-networkd

fiery sonnet
#

do I put exactly that?

silent valve
#

printf 'namerserver 1.1.1.1\n' > /etc/resolv.conf

#

yes, or edit the config file in any sane text editor

fiery sonnet
#

like this?

silent valve
#

as root

#

and no, prepending sudo won't work

#

either sudo -i or su -

fiery sonnet
#

ok

#

su- command not found

#

and -I command not found

silent valve
#

spaces matters

#

su -

fiery sonnet
#

ok

#

nvm I'm stupid

#

i put in my user password and it says authentication failed

#

and then I put in no password and It says the same

silent valve
#

you have to enter the root password

#

su is not sudo

fiery sonnet
#

I didn't set one

silent valve
#

then it's empty

#

unless you locked the root account, in which case you have to boot the install image or with init=/bin/bash and fix it

#

assuming you didn't set up sudo

fiery sonnet
#

I'm confused

fiery sonnet
silent valve
#

the root password

#

as in, you can just press enter

fiery sonnet
#

it still says authentication failure

#

I'm sure I didn't set a password

silent valve
#

getent passwd root

#

did you set up sudo?

fiery sonnet
#

idk

#

I just rund the install script

silent valve
#

what install script?

#

also, what happens if you run sudo -i ?

#

yes, lower case i, not I, l or |

fiery sonnet
silent valve
#

it certainly asked you to set a root password

fiery sonnet
#

I'm in

#

can I change the password?

silent valve
#

sudi -i worked? then create the config file and start netwworkd

fiery sonnet
#

create it where?

silent valve
#

printf '[Match]\nName=en*\n\n[Link]\nRequiredForOnline=routable\n\n[Network]\nDHCP=yes\n' > /etc/systemd/network/20-bananaphone.network && systemctl enable --now systemd-networkd

fiery sonnet
#

done

#

no error

silent valve
#

printf 'namerserver 1.1.1.1\n' > /etc/resolv.conf

fiery sonnet
silent valve
#

curl https://api.github.com/octocat

fiery sonnet
silent valve
#

ping 1.1.1.1

fiery sonnet
#

unreachable

silent valve
#

ip -br -c a

#

and... is your ethernet cable actually plugged in?

fiery sonnet
#

yep

#

is it a possibility that linux can access my nic?

silent valve
#

systemctl status systemd-networkd

fiery sonnet
#

gtg for 15 mins

silent valve
#

add networkctl status too

fiery sonnet
#

@silent valve k that was a long 15 mins but I'm back