User:Quozl/Fedora 20/Manual network configuration: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'XO-4 8787 mwifiex driver configuration without NetworkManager on Fedora 20. == Enable Kernel Debug Messages on Console == * add {{code|debug}} to kernel command line * reboot …')
 
No edit summary
 
Line 38: Line 38:
iw dev eth0 ibss leave
iw dev eth0 ibss leave
# sends 0x0040, then six 0x0028
# sends 0x0040, then six 0x0028

iw dev eth0 scan > /dev/null


== Disable Driver Debugging ==
== Disable Driver Debugging ==
Line 45: Line 43:
echo "module mwifiex -p" > /sys/kernel/debug/dynamic_debug/control
echo "module mwifiex -p" > /sys/kernel/debug/dynamic_debug/control
echo "module mwifiex_sdio -p" > /sys/kernel/debug/dynamic_debug/control
echo "module mwifiex_sdio -p" > /sys/kernel/debug/dynamic_debug/control

== Resume Automatic Network Configuration ==

systemctl start NetworkManager.service

Latest revision as of 07:06, 18 September 2014

XO-4 8787 mwifiex driver configuration without NetworkManager on Fedora 20.

Enable Kernel Debug Messages on Console

  • add debug to kernel command line
  • reboot

Enable Driver Debugging

echo "module mwifiex +p" > /sys/kernel/debug/dynamic_debug/control # commands
echo "module mwifiex_sdio +p" > /sys/kernel/debug/dynamic_debug/control # bus

Stop Automatic Network Configuration

systemctl stop NetworkManager.service

Manual Network Configuration

# bring the network link up
ip link set eth0 up
# sends 0x0010
# choose type of network ad-hoc
iw dev eth0 set type ibss
# sends 0x00f7
# form or join an ad-hoc network
iw dev eth0 ibss join x 2437
# sends 0x005b, 0x0028, several 0x0006 (scan), 0x002b (adhoc-start), two 0x0010
# configure ipv4 address
ip addr add 172.16.0.1/12 dev eth0
# sends 0x0010 to append to the MAC address list
ip addr delete 172.16.0.1/12  dev eth0
# sends 0x0010 to remove from the MAC address list
iw dev eth0 ibss leave
# sends 0x0040, then six 0x0028

Disable Driver Debugging

echo "module mwifiex -p" > /sys/kernel/debug/dynamic_debug/control
echo "module mwifiex_sdio -p" > /sys/kernel/debug/dynamic_debug/control

Resume Automatic Network Configuration

systemctl start NetworkManager.service