Is the thread now [SOLVED]?
If so, please edit the title to reflect this.
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
Relase dhcp but I have configured static IP [SOLVED]
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
-
- Posts: 117
- Joined: 2018-06-05 15:23
- Location: Italy
- Has thanked: 2 times
Re: Relase dhcp but I have configured static IP
Sorry @Head_on_a_Stick if I did not write a replay for a few days but I haven't time to try this on my odroid board.
Today I have tried with this command:
When I have rebooted the device It did not connect automatically to my wifi network (it was configured before using wpa_supplicant)
I have typed
Can't I simply comment the line in the file "systemctl cat network-wireless@.service"?
Thanks for your support!
Today I have tried with this command:
Code: Select all
systemctl disable network-wireless@wlan{0,1}.service
When I have rebooted the device It did not connect automatically to my wifi network (it was configured before using wpa_supplicant)
I have typed
because in this moment the Wlan0 is in client mode and the Wlan1 is in AP mode.systemctl disable network-wireless@wlan0.service
Can't I simply comment the line
Code: Select all
ExecStart=/sbin/dhclient %i
Thanks for your support!
Lenovo T460 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 12
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Relase dhcp but I have configured static IP
Do you have the interface listed in /etc/network/interfaces and is networking.service enabled and started correctly?coppolino97 wrote:When I have rebooted the device It did not connect automatically to my wifi network (it was configured before using wpa_supplicant)
That should bring your connection up, or at least it would in Debian
If you want to use network-wireless@.service (rather than /etc/network/interfaces & networking.service) then replace the `dhclient` lines with commands to assign the IP addresses you want to use, like this:coppolino97 wrote:Can't I simply comment the linein the file "systemctl cat network-wireless@.service"?Code: Select all
ExecStart=/sbin/dhclient %i
Code: Select all
ExecStart=/bin/ip address add 192.168.1.39/24 broadcast 192.168.1.255 dev %i
ExecStart=/bin/ip route add default via 192.168.1.1
deadbang
-
- Posts: 117
- Joined: 2018-06-05 15:23
- Location: Italy
- Has thanked: 2 times
Re: Relase dhcp but I have configured static IP
Thanks for your help!
I think that it is solved now!
I think that it is solved now!
Lenovo T460 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 12