问题是我的 Ubuntu 服务器 12.04 只能通过 ssh 访问。它使用 wifi wpa 2 加密连接到路由器。我没有使用防火墙,它应该使用 samba 和 afp 共享到 Windows 和 Mac。当连接是有线时,这有效,但不是无线连接?有人可以指导我或给我一些想法,告诉我该尝试什么。提前谢谢您。
以下是更多细节
iwconfig(我想问题出在这里——我没有 IP 地址?)
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"Tomato"
Mode:Managed Frequency:2.452 GHz Access Point: 20:4E:7F:10:18:54
Bit Rate=121.5 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=56/70 Signal level=-54 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:94 Missed beacon:0
eth0 no wireless extensions.
dmesg | grep eth0
[ 3.207518] r8169 0000:04:00.0: eth0: RTL8168e/8111e at 0xf8414000, 14:da:e9:6b:b1:74, XID 0c200000 IRQ 46
[ 3.207525] r8169 0000:04:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 8.312266] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.870001] r8169 0000:04:00.0: eth0: link down
[ 12.870368] ADDRCONF(NETDEV_UP): eth0: link is not ready
消息 | grep wlan0
[ 45.689429] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 45.693155] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 48.743038] wlan0: authenticate with 20:4e:7f:10:18:54 (try 1)
[ 48.745261] wlan0: authenticated
[ 48.776724] wlan0: associate with 20:4e:7f:10:18:54 (try 1)
[ 48.780280] wlan0: RX AssocResp from 20:4e:7f:10:18:54 (capab=0x411 status=0 aid=2)
[ 48.780290] wlan0: associated
[ 48.787054] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
答案1
您的系统配置没有问题。重新配置您的路由器。请检查 dhcp 并确保您的互联网连接是共享的。