Code: Select all
ifconfig
Code: Select all
enxb827ebdc0d1f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.15 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1712:8263:d0d9:c187 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:dc:0d:1f txqueuelen 1000 (Ethernet)
RX packets 400 bytes 41204 (40.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 273 bytes 55706 (54.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:89:58:4a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
sudo nano /etc/dhcpcd.conf
Code: Select all
#static IP configuration
interface enxb827ebdc0d1f
static ip_address=192.168.1.15/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
Change the interface name to 'wlan0'Robbi_Blechdose wrote: ↑Sat Aug 19, 2017 7:23 amThanks for the help,
but (I should have clarified that) I'd like to set it for wlan0 as I'm using the Pi3's wifi.
Hi,pcmanbob wrote: ↑Fri Aug 18, 2017 9:08 pm
so edit dhcpcd.conf withso you add your static ip settings to the end if the file like thisCode: Select all
sudo nano /etc/dhcpcd.conf
Code: Select all
#static IP configuration interface enxb827ebdc0d1f static ip_address=192.168.1.15/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1
And this is progress???You can find your interface name with ifconfig.
I don't know. I'm flexible and can deal with it.Martin Frezman wrote:And this is progress???You can find your interface name with ifconfig.
I agree with you making such a change of a device designed for educational / beginner use was in my opinion a bad move it probably broke many how tos and ready made scripts.Martin Frezman wrote: ↑Fri Sep 08, 2017 4:22 pmAnd this is progress???You can find your interface name with ifconfig.
updating from Jessie to stretch did not change to the new interface naming only a fresh install made the change, so I suspect to revert to the old interface naming you will need a fresh install of stretch.
Or you just fix it yourself. The "net.ifnames=0" method is the most obvious.