Hallo Liebe Community,
Ich beschäftige mich schon etwas länger mit Linux und versuche auch möglichst nur damit zu arbeiten. Seit ca. 5 Monaten habe ich Arch Linux für mich eindeckt....
Zu meinem Problem:
Ich habe einen Kleinen NAS Server mit Arch Linux gebastelt bis hier hin war das nicht so schwer.
Jetzt möchte ich gerne das der Server auch noch die Rolle eines Router einnimmt. Da mein letzter Wlan Router vor wenigen tagen den Geist aufgegeben hat möchte ich das auf den weg mein Problem lösen.
Leider finde ich kein TUT das entweder auf deutsch ist oder für Arch Linux ist.
Die Ubuntu tuts werden mit etwas umdenken und um basteln evt. auch gehen aber da für bin ich dann zu viel Neuling.
Also meine Frage, kann mir bitte jemand dabei helfen ein Wlan Router auf meinem NAS-Server einzurichten?
Vielen dank schon mal.
Daten die evt. Interessant sind:
[root@HTPC ~]# uname -a
Linux HTPC 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011 x86_64 AMD E-350 Processor AuthenticAMD GNU/Linux
[root@HTPC ~]# lspci -nnk | grep -i net -A2
03:00.0 Network controller [0280]: Ralink corp. RT2860 [1814:0781]
Subsystem: ASUSTeK Computer Inc. Device [1043:130f]
Kernel driver in use: rt2800pci
--
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards [1043:8432]
Kernel driver in use: r8169
[root@HTPC ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.0.102 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::f66d:4ff:fe92:32cc prefixlen 64 scopeid 0x20<link>
ether f4:6d:04:92:32:cc txqueuelen 1000 (Ethernet)
RX packets 38589 bytes 48911266 (46.6 MiB)
RX errors 0 dropped 11 overruns 0 frame 0
TX packets 19049 bytes 1517593 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40 base 0x4000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 129 bytes 12260 (11.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 129 bytes 12260 (11.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@HTPC ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 202 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
[root@HTPC ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
[root@HTPC ~]# iwlist chan
lo no frequency information.
eth0 no frequency information.
wlan0 14 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz
[root@HTPC ~]# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[root@HTPC ~]# lsmod
Module Size Used by
w83627ehf 29465 0
hwmon_vid 3292 1 w83627ehf
ipv6 288122 12
ext2 63283 1
snd_hda_codec_hdmi 22821 1
nvidia 12069499 0
snd_hda_intel 22410 0
snd_hda_codec 81242 2 snd_hda_codec_hdmi,snd_hda_intel
snd_ca0106 34832 0
snd_rawmidi 19458 1 snd_ca0106
snd_seq_device 5300 1 snd_rawmidi
snd_ac97_codec 114391 1 snd_ca0106
ac97_bus 1206 1 snd_ac97_codec
snd_hwdep 6357 1 snd_hda_codec
arc4 1410 2
snd_pcm 74368 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_ca0106,snd_ac97_codec
snd_timer 19544 1 snd_pcm
snd 58362 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_ca0106,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 6210 1 snd
snd_page_alloc 7153 3 snd_hda_intel,snd_ca0106,snd_pcm
rt2800pci 9405 0
rt2800lib 39851 1 rt2800pci
crc_ccitt 1363 1 rt2800lib
rt2x00pci 5082 1 rt2800pci
rt2x00lib 34978 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 222059 3 rt2800lib,rt2x00pci,rt2x00lib
eeepc_wmi 2420 0
cfg80211 165796 2 rt2x00lib,mac80211
asus_wmi 14985 1 eeepc_wmi
r8169 45411 0
eeprom_93cx6 1376 1 rt2800pci
ppdev 5774 0
firewire_ohci 29650 0
parport_pc 30042 0
firewire_core 50872 1 firewire_ohci
parport 31631 2 ppdev,parport_pc
i2c_piix4 8224 0
pcspkr 1819 0
serio_raw 4294 0
sp5100_tco 4568 0
mii 4059 1 r8169
sparse_keymap 3120 1 asus_wmi
rfkill 15498 2 cfg80211,asus_wmi
pci_hotplug 25454 1 asus_wmi
k10temp 2883 0
i2c_core 20460 2 nvidia,i2c_piix4
crc_itu_t 1363 1 firewire_core
processor 24224 2
evdev 9530 0
wmi 8475 1 asus_wmi
psmouse 55501 0
button 4470 0
fuse 66858 0
ext4 375413 3
mbcache 5881 2 ext2,ext4
jbd2 70667 1 ext4
crc16 1359 1 ext4
sd_mod 28275 7
ahci 20005 5
libahci 19559 1 ahci
ohci_hcd 21714 0
libata 166724 2 ahci,libahci
ehci_hcd 40762 0
scsi_mod 132826 2 sd_mod,libata
usbcore 144432 3 ohci_hcd,ehci_hcd
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="HTPC"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=eth0
address=
netmask=
broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng dbus fam ntpd alsa network netfs crond hostapd samba smbnetfs sensors sshd)
Der Server läuft ohne GUI, bedienen tue ich ihn über SSH.
Ich habe bereits selber das eine oder andere versucht aber bin leider gescheitert.