I am a fairly new user of raspberry pi. Previously I have successfully established network sharing between my PC and my Rpi zero using USB gadget mode, mainly thanks to this forum.
Recently. I have moved places and I am having trouble getting my new internet connection getting shared to raspberry pi via usb gadget mode.
Useful information:
This is my default internet connection
This is my raspberry pi zero(it doesn't have wifi)usb0 is my raspberry pi
This is what my pi is runningI am using a micro usb cable to share my desktop internet connection to RPi zero. I am clueless on how to debug this.
I have tried giving my RPi a static ip address. But it didn't work (using /etc/dhcpcd.conf)
I have used wireshark into my RPi connection and it is giving me some hints, but if someone can give me any direction on how to percieve it I will be very thankful.
This is from running wireshark into my wifi (my stable internet connection to my desktop which is what I am trying to share to my RPi via usb gadget mode)If there is any other information needed I will be happy to provide.
Thank you for your help.
Recently. I have moved places and I am having trouble getting my new internet connection getting shared to raspberry pi via usb gadget mode.
Useful information:
This is my default internet connection
Code:
Wireless LAN adapter Wi-Fi 2: Connection-specific DNS Suffix . : etsusa.com IPv6 Address. . . . . . . . . . . : 2603:300b:976:81c0::1f2f Link-local IPv6 Address . . . . . : fe80::6d69:967a:a6:25c5%12 IPv4 Address. . . . . . . . . . . : 10.0.5.142 Subnet Mask . . . . . . . . . . . : 255.255.240.0 Default Gateway . . . . . . . . . : fe80::208:a2ff:fe12:49ad%12 10.0.0.1
Code:
pi@raspberrypi:~ $ ifconfiglo: 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 1000 (Local Loopback) RX packets 1977 bytes 188218 (183.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1977 bytes 188218 (183.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 169.254.160.25 netmask 255.255.0.0 broadcast 169.254.255.255 inet6 fe80::bb82:28c9:cc48:e6bd prefixlen 64 scopeid 0x20<link> ether ea:e0:20:d8:75:ad txqueuelen 1000 (Ethernet) RX packets 1403 bytes 246129 (240.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3259 bytes 323525 (315.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
This is what my pi is running
Code:
pi@raspberrypi:~ $ cat /etc/debian_version11.9pi@raspberrypi:~ $ cat /etc/os-releasePRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"NAME="Raspbian GNU/Linux"VERSION_ID="11"VERSION="11 (bullseye)"VERSION_CODENAME=bullseyeID=raspbianID_LIKE=debianHOME_URL="http://www.raspbian.org/"SUPPORT_URL="http://www.raspbian.org/RaspbianForums"BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"pi@raspberrypi:~ $ uname -aLinux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
I have tried giving my RPi a static ip address. But it didn't work (using /etc/dhcpcd.conf)
I have used wireshark into my RPi connection and it is giving me some hints, but if someone can give me any direction on how to percieve it I will be very thankful.
Code:
10.000000ea:e0:20:d8:75:adBroadcastARP42Who has 10.0.0.1? Tell 169.254.160.2521.035730ea:e0:20:d8:75:adBroadcastARP42Who has 10.0.0.1? Tell 169.254.160.2532.075759ea:e0:20:d8:75:adBroadcastARP42Who has 10.0.0.1? Tell 169.254.160.2542.357410fe80::5783:c0a2:3a4f:edd2ff02::1:2DHCPv6157Solicit XID: 0xa1170a CID: 000100012b0b8ecd50ebf6d0832b 53.116689ea:e0:20:d8:75:adBroadcastARP42Who has 10.0.0.1? Tell 169.254.160.2564.155660ea:e0:20:d8:75:adBroadcastARP42Who has 10.0.0.1? Tell 169.254.160.25
Code:
10.000000Intel_bd:37:97CenturyXinya_39:06:ecARP42Who has 10.0.0.1? Tell 10.0.3.255660.132527Apple_c1:8b:2cCenturyXinya_39:06:ecARP60Who has 10.0.5.114? Tell 10.0.5.219
Thank you for your help.
Statistics: Posted by did773 — Thu Oct 10, 2024 5:44 am