Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240619

Re: iwd: Using iwd to connect to a wireless network (Part 1 - Connection status show OK but unable to surf the net)

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: iwd: Using iwd to connect to a wireless network (Part 1 - Connection status show OK but unable to surf the net)
Date 2021-09-30 07:30 +0200
Message-ID <D2WNP-3Iu-1@gated-at.bofh.it> (permalink)
References <D2rTH-1mU-1@gated-at.bofh.it> <D2sd3-1tu-13@gated-at.bofh.it> <D2HF7-2JE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 29 Sep 2021 at 15:18:44 (+0200), Stella Ashburne wrote:
> > Sent: Wednesday, September 29, 2021 at 4:45 AM
> > From: "Dan Ritter" <dsr@randomstring.org>
> >
> > Try
> >
> > sudo dhclient wlan0
> >
> > and see if that gives you an IP and a default route, at which
> > point  apt update should work.
> >
> 
> I tried the command:
> 
> sudo dhclient wlan0
> 
> and no result (nothing) appeared.

I'm not sure exactly what *should* appear. Normally, I read about DHCP's
actions in the logs. Anyway …

> May I refer you to the sub-section titled "Setting static IP address in network configuration" of ArchLinux' wiki on iwd (https://wiki.archlinux.org/title/Iwd).
> 
> My file whitecollar.psk located in /var/lib/iwd/ has the following contents:

So the WiFi's SSID is whitecollar (all lower case)?

> [Security]
> PreSharedKey=a long string of alphanumeric characters
> Passphrase=aquickbrownfoxjumpsoverthelazydog

I take it that you edited in the passphrase, and iwd wrote
the PreSharedKey into the file itself?

> [IPv4]
> Address=192.168.30.115
> Netmask=255.255.255.0
> Gateway=192.168.30.1
> Broadcast=192.168.30.255
> DNS=8.8.8.8

Where did you get the number 115 from?

It's claimed that iwd can do DHCP itself. For this, you'd drop
the [IPv4] paragraph above, and instead put

[General]
EnableNetworkConfiguration=true

into /etc/iwd/main.conf (create if necessary).

> Please note that I have disabled IPv6 by adding the line
> 
> GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet"
> 
> to /etc/default/grub

It's claimed that iwd only configures IPv6 if you have

[Network]
EnableIPv6=true

in /etc/iwd/main.conf.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-28 22:30 +0200
  Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-28 22:50 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Jude DaShiell <jdashiel@panix.com> - 2021-09-29 00:30 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 15:10 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Charles Curley <charlescurley@charlescurley.com> - 2021-09-30 04:00 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 15:20 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-29 15:40 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 15:50 +0200
          Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-29 16:20 +0200
            Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 20:50 +0200
              Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-29 21:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Greg Wooledge <greg@wooledge.org> - 2021-09-29 21:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Reco <recoverym4n@enotuniq.net> - 2021-09-29 22:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 23:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 23:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-30 00:10 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 07:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) riveravaldez <riveravaldezmail@gmail.com> - 2021-09-30 08:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) riveravaldez <riveravaldezmail@gmail.com> - 2021-10-01 01:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:50 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 16:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 20:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) <tomas@tuxteam.de> - 2021-09-30 08:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Henning Follmann <hfollmann@itcfollmann.com> - 2021-09-30 16:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 17:00 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 - Connection status show OK but unable to surf the net) rhkramer@gmail.com - 2021-09-30 17:50 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 18:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-30 18:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 - Connection status show OK but unable to surf the net) rhkramer@gmail.com - 2021-09-30 19:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Henning Follmann <hfollmann@itcfollmann.com> - 2021-09-30 18:10 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) <tomas@tuxteam.de> - 2021-09-30 17:50 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Henning Follmann <hfollmann@itcfollmann.com> - 2021-09-30 18:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) <tomas@tuxteam.de> - 2021-09-30 19:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Henning Follmann <hfollmann@itcfollmann.com> - 2021-09-30 20:10 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) <tomas@tuxteam.de> - 2021-09-30 21:40 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Brian <ad44@cityscape.co.uk> - 2021-09-30 22:00 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Brian <ad44@cityscape.co.uk> - 2021-09-30 20:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 18:30 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Lee <ler762@gmail.com> - 2021-09-30 20:20 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 22:00 +0200
                Re: iwd: Using iwd to connect to a wireless network (Part 1 - Connection status show OK but unable to surf the net) rhkramer@gmail.com - 2021-09-30 16:30 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 07:30 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 16:00 +0200
          Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 20:40 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 16:40 +0200
          Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-30 17:20 +0200
            Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 18:20 +0200
              Re: iwd: Using iwd to connect to a wireless network (Part 1 -  Connection status show OK but unable to surf the net) Dan Ritter <dsr@randomstring.org> - 2021-09-30 18:40 +0200

csiph-web