Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
fuss:raspberry_pi [2020/05/08 18:51] – [Logging-in via SSH over USB] officefuss:raspberry_pi [2020/12/16 07:39] – [Fixing Various Network Issues] office
Line 60: Line 60:
 to set the sound selection to autodetect where the jack will be used only if the HDMI cable is not connected. to set the sound selection to autodetect where the jack will be used only if the HDMI cable is not connected.
  
-====== Fixing Various Network Issues ====== 
- 
-Any of the following symptoms are to be detected? 
-  * SSH connections drop, 
-  * issuing commands with large output over SSH makes the SSH session hang, 
-  * connection issues toward package repositories on Raspbian 
- 
-They may all boil down to a non-uniform MTU setting across the network. 
  
 ====== Logging-in via SSH over USB ====== ====== Logging-in via SSH over USB ======
Line 92: Line 84:
  
 The first attempt would be to try connecting via the assigned DNS address: ''ssh pi@raspberry.local'' and enter ''raspberry'' at the password prompt. if that fails, a packet sniffer such as WireShark or TcpDump may reveal the initial Raspberry Pi's ARP requests for Google's DNS servers (''8.8.8.8''). Sometimes just restarting the bonjour service and disabling and re-enabling the RNDIS interface may get the Raspberry Pi to register its name. The first attempt would be to try connecting via the assigned DNS address: ''ssh pi@raspberry.local'' and enter ''raspberry'' at the password prompt. if that fails, a packet sniffer such as WireShark or TcpDump may reveal the initial Raspberry Pi's ARP requests for Google's DNS servers (''8.8.8.8''). Sometimes just restarting the bonjour service and disabling and re-enabling the RNDIS interface may get the Raspberry Pi to register its name.
 +
 +===== Connecting to a Bridge Automatically =====
 +
 +In order to connect the Raspberry Pi to a bridge as it is connected to a server, [[fuss/linux#automatically_add_all_rndis_devices_to_a_bridge|an udev rule can be written]] that will match all RNDIS adapters and connect them to a bridge.
 +
 +The only changes required on the Raspberry Pi is to edit ''/etc/network/interfaces.d/usb0'' and add the lines:
 +<code>
 +auto usb0
 +iface usb0 inet dhcp
 +</code>
 +
 +and save the file. This will make sure that when the Raspberry Pi boots, an IP address will be requested over the ''usb0'' interface and will work provided that the computer that the Raspberry Pi is connected to is running a DHCP server on the other end.
  
 ====== Enabling Monitor Mode via Nexmon Drivers ====== ====== Enabling Monitor Mode via Nexmon Drivers ======
Line 213: Line 217:
 sleep 5 sleep 5
 </code> </code>
 +
 +====== Downgrade or Upgrade to Specific Kernel Version ======
 +
 +Pick a commit from the ''rpi-firmware'' [[https://github.com/Hexxeh/rpi-firmware/commits/master|github project]], look at the commit hash and then issue:
 +<code bash>
 +rpi-update HASH
 +</code>
 +where:
 +  * ''HASH'' - is the commit hash
 +
 +
  
  

fuss/raspberry_pi.txt · Last modified: 2024/02/24 05:08 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.