Lieber Besucher, herzlich willkommen bei: Ubuntu-Forum & Kubuntu-Forum | www.Ubuntu-Forum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
title Ubuntu, kernel 2.6.10-5-686 eth root (hd0,5) kernel /vmlinuz-2.6.10-5-686 root=/dev/hda7 ro quiet splash vga=792 koxinet=eth initrd /initrd.img-2.6.10-5-686 savedefault boot title Ubuntu, kernel 2.6.10-5-686 wlan root (hd0,5) kernel /vmlinuz-2.6.10-5-686 root=/dev/hda7 ro quiet splash vga=792 koxinet=wlan initrd /initrd.img-2.6.10-5-686 savedefault boot |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
#!/bin/sh CMDLINE=`cat /proc/cmdline` FAILSAVE="/etc/network/interfaces.eth" TARGET="/etc/network/interfaces" case "$1" in start) B=$( echo $CMDLINE | awk 'BEGIN{ FS="ro quiet splash vga=792 koxinet=" } { print $1 "\n" $2 }' ) C=($B) SOURCE="/etc/network/interfaces".${C[1]} if [ -e $SOURCE ]; then cp $SOURCE $TARGET echo "* netprofile "${C[1]}" activated" else cp $FAILSAVE $TARGET echo "* netprofile eth activated (failsave)" fi ;; stop) exit 1 ;; *) echo "Usage: /etc/init.d/netprofile {start|stop}" exit 1 ;; esac exit 0 |
Quellcode |
|
1 |
sudo ln -s /etc/init.d/netprofile /etc/rcS.d/S31netprofile |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface iface eth0 inet dhcp auto eth0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface auto wlan0 iface wlan0 inet static address 10.60.1.3 netmask 255.255.255.0 gateway 10.60.1.1 nameserver 10.60.1.1 pre-up /usr/sbin/wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -Bw post-down killall -q wpa_supplicant |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
# ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=2 network={ ssid="ONI" proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP CCMP psk=364d724c29d0aa28ce9695d3ae320f6c4827da532fe2b85a1884dc273df8bfa2 } |
Quellcode |
|
1 |
sudo wpa_passphrase <SSID des Netzes> <WPA Schlüssel> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# /etc/default/wpasupplicant # WARNING! Make sure you have a configuration file! ENABLED=1 # Useful flags: # -D <driver> Wireless Driver # -i <ifname> Interface (required, unless specified in config) # -c <config file> Configuration file # -d Debugging (-dd for more) # -w Wait for interface to come up OPTIONS="-w -i wlan0 -D ndiswrapper -B" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface iface eth0 inet dhcp iface eth1 inet dhcp wireless-essid HOME_WLAN auto eth1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface iface eth0 inet dhcp auto eth0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep map eth0 # The primary network interface iface eth1 inet dhcp wireless-essid HOME_WLAN pre-up /usr/sbin/wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -Bw post-down killall -q wpa_supplicant auto eth1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
# ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=2 network={ ssid="HOME_WLAN" proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP CCMP psk=KEYKEYKEYKEY } |
Quellcode |
|
1 2 3 4 5 |
0000:02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02) koxi@oni:~$ ndiswrapper -l Installed ndis drivers: bcmwl5a driver present, hardware present |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
koxi@oni:~$ ifconfig eth0 Protokoll:Ethernet Hardware Adresse <anonymisiert> inet Adresse:10.60.1.12 Bcast:10.60.1.255 Maske:255.255.255.0 inet6 Adresse: fe80::20f:1fff:fe0b:d8ab/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6982 errors:0 dropped:0 overruns:0 frame:0 TX packets:11060 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:3439148 (3.2 MiB) TX bytes:1211171 (1.1 MiB) Interrupt:11 lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:593986 errors:0 dropped:0 overruns:0 frame:0 TX packets:593986 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:54501563 (51.9 MiB) TX bytes:54501563 (51.9 MiB) wlan0 Protokoll:Ethernet Hardware Adresse <anonymisiert> inet6 Adresse: fe80::290:4bff:fe72:b069/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:5 Speicher:faff6000-faff7fff |
Quellcode |
|
1 2 |
pre-up /usr/sbin/wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -Bw post-down killall -q wpa_supplicant |
Quellcode |
|
1 |
B=$( echo $CMDLINE | awk 'BEGIN{ FS="ro quiet splash vga=792 koxinet=" } { print $1 "\n" $2 }' ) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
josef@JosefsNote:~$ ifconfig eth1 Protokoll:Ethernet Hardware Adresse XXXXXXXXXXXXX inet Adresse:192.168.0.3 Bcast:192.168.0.255 Maske:255.255.255.0 inet6 Adresse: fe80::20e:35ff:fe12:7363/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3915 errors:0 dropped:0 overruns:0 frame:0 TX packets:2468 errors:0 dropped:0 overruns:0 carrier:1 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:1934002 (1.8 MiB) TX bytes:442274 (431.9 KiB) Interrupt:10 Basisadresse:0x4000 Speicher:e0000000-e0000fff lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4057 errors:0 dropped:0 overruns:0 frame:0 TX packets:4057 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:461390 (450.5 KiB) TX bytes:461390 (450.5 KiB) |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Möwe Jonathan« (03.08.2005, 11:06)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
koxi@oni:~$ iwconfig lo no wireless extensions. wlan0 IEEE 802.11g ESSID:off/any Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00 Bit Rate:54 Mb/s Tx-Power:25 dBm RTS thr:2347 B Fragment thr:2346 B Power Management:off Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 eth0 no wireless extensions. sit0 no wireless extensions. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
koxi@oni:~$ cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. ide-cd ide-disk ide-generic lp mousedev psmouse sbp2 sr_mod ndiswrapper |
Quellcode |
|
1 |
ndiswrapper -l |
Quellcode |
|
1 |
cat /proc/cmdline |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
lo no wireless extensions. eth0 no wireless extensions. eth1 IEEE 802.11g ESSID:"HOME_WLAN" Mode:Managed Frequency:2.457 GHz Access Point: 00:09:5B:D9:4C:36 Bit Rate=5.5 Mb/s Tx-Power=20 dBm Retry limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=53/100 Signal level=-69 dBm Noise level=-83 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 sit0 no wireless extensions. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. ide-cd ide-disk ide-generic lp mousedev psmouse sbp2 sr_mod |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Möwe Jonathan« (03.08.2005, 12:59)
Quellcode |
|
1 |
chmod +x /etc/init.d/netprofile |
Quellcode |
|
1 |
sudo /etc/init.d/netprofile start |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Koxi« (03.08.2005, 16:51)
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien