bigtreetech / bigtreetech/BTT-Pi
OS image v3.0.0 shows two wlan interfaces with two different MAC addresses
- Dominant language
- No language data
- Stars
- 200
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
How is it possible that BTT-Pî 1.2 OS image v3.0.0 shows two wlan interfaces?
```
wlan0: flags=4163 mtu 1500
inet 10.0.0.xxx netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::1b7d:xxx:xxx:xxx prefixlen 64 scopeid 0x20
ether xx:xx:xx:xx:be:44 txqueuelen 1000 (Ethernet)
RX packets 3079 bytes 8477850 (8.0 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 2805 bytes 64132952 (61.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan1: flags=4099 mtu 1500
ether xx:xxxx:xx:bc:44 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
```
/boot/system.cfg file content:
```
biqu@bigtreetech-cb1:/var/log$ cat /boot/system.cfg
#-----------------------------------------#
check_interval=5 # Cycle to detect whether wifi is connected, time 5s
eth=end0 # Ethernet card device number
wlan=wlan0 # Wireless NIC device number
#hostname="BIGTREETECH-CB1"
###########################################
# System time zone setting, default Time zone: Etc/UTC (UTC, +0000)
# More settable time zones can be viewed by running the command: timedatectl list-timezones
TimeZone="Europe/Madrid"
###########################################
## klipperScreen Target Screen
## ks_src: "HDMI-1", "TFT35"
#ks_src="HDMI-1"
ks_src="TFT35"
## ks_angle: Rotation angle
## normal: 0; inverted: 180;
## left: 90; right: 270;
#ks_angle="normal"
ks_angle=normal
###########################################
## wifi name
WIFI_SSID="dCr"
## wifi password
WIFI_PASSWD= "xxxxx"
###########################################
# BTT-PAD7 (ON/OFF)
BTT_PAD7="OFF"
# touch vibration effects
TOUCH_VIBRATION="OFF"
# touch sound effects
TOUCH_SOUND="OFF"
# Automatic brightness adjustment
AUTO_BRIGHTNESS="OFF"
###########################################
```
BR
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the OS image's network interface setup and /boot/system.cfg, especially the wlan=wlan0 setting, then compare it with the reported wlan0 and wlan1 output. Reproduce the interface listing and trace why both interfaces and different MAC addresses appear; done means the cause and an appropriate corrective change are verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100