我开始想,我只需要接受一点损失,卖掉我的新华硕 K73E。因为当我不得不处理 Windough$ 时,我真的不喜欢计算,而且我的新华硕上的 Windows 7 64 位甚至比装有 XP 的旧机器还要糟糕。
我已写信给华硕,他们只是说“我们不支持 Linux”,而 Ralink 的网站说他们支持 Linux,但我找不到人告诉我我的机器中可能是哪种型号的 Ralink 卡。
有谁能给我一些有用的建议吗?
以下是命令 lspci nn && lsusb && lsmod && rfkill list all 的答案:
di,snd_seq
snd 54244 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo 57374 0
videodev 34361 1 uvcvideo
v4l1_compat 13251 2 uvcvideo,videodev
soundcore 6620 1 snd
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
psmouse 63677 0
serio_raw 3978 0
lp 7028 0
parport 32635 2 ppdev,lp
fbcon 35102 71
tileblit 1999 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
video 17375 0
output 1871 1 video
vga16fb 11385 1
vgastate 8961 1 vga16fb
ahci 32360 2
di,snd_seq
snd 54244 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo 57374 0
videodev 34361 1 uvcvideo
v4l1_compat 13251 2 uvcvideo,videodev
soundcore 6620 1 snd
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
psmouse 63677 0
serio_raw 3978 0
lp 7028 0
parport 32635 2 ppdev,lp
fbcon 35102 71
tileblit 1999 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
video 17375 0
output 1871 1 video
vga16fb 11385 1
vgastate 8961 1 vga16fb
ahci 32360 2
编辑#2
lspci
00:00.0 Host bridge: Intel Corporation Device 0104 (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 2 (rev b5)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Device 1c49 (rev 05)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
02:00.0 Network controller: RaLink Device 5390
03:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)
系统盘
Bus 002 Device 002: ID 8087:0024
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 13d3:5710 IMC Networks
Bus 001 Device 002: ID 8087:0024
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
感谢您的建议,因为这给了我一个 Ralink RT5390 的型号。我现在已经访问了 Ralink.com 并下载了(通过 Windows 7)驱动程序包(它是一个 bz2 文件)。我希望我能弄清楚如何安装它。仅供参考 - 我无法运行 su(未授权?)并且 dmidecode 不存在(可能需要下载,但 Ubuntu 中还没有互联网)
答案1
好的,现在我们知道这是 ralink 5390,不管你信不信,它和我拥有的是一样的。以下是我在 linuxmint 上发表的一篇关于此问题的帖子,可以在这里找到这里然后,我将引用该帖子中的链接,该链接涉及在 10.10 Maverick 上启动和运行,它应该可以正常工作,我也在 11.04 上对其进行了测试,但没有比 10.10 更旧的版本。
wifi card Ralink 5390 configuration in Ubuntu 10.10 64 bit
by sahab on Dec.18, 2010, under Ubuntu, ubuntu 10.10
Problem:
Got a brand new HP laptop – HP g62x. Installed ubuntu 10.10 and found that I do not have a wlan interface as one would expect with an active wireless connection.
Thanks to
Great discussion on similar work here @ http://ubuntuforums.org /showthread.php?t=1600498. Just a different card.`
Solution:
I used the above thread to do my work – banged my head against the wall a couple of times but it was fun . I am listing down steps that finally worked for me. But before that, my configurations:
Ubuntu 10.10
64 bit
WPA2 wireless network
OS was freshly installed and there was no specific customization prior to this
RaLink Device 5390. (use lspci to see your model number)
Download the driver from ralinktech.com –> Software –> Linux
Unzip the download zip file anywhere. I did it in the default Downloads directory
cd to the 2010_xxx extracted directory
cd os/linux/
Edit the config.mk file as below:
HAS_ATE=y (no change, it was originally as is)
HAS_WPA_SUPPLICANT=y (no change, it was originally as is)
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y (no change, it was originally as is)
HAS_ANTENNA_DIVERSITY_SUPPORT=y originally was n — this was the only thing I modified)
Go back to the 2010_xx directory
run command ‘make’
Make sure ‘make compile’ exists without errors. I got an error “too many arguments to format” towards the end of the compile but it did compile successfully eventually. And so I ignored the errors. You would see ***errors*** if the compile is not successful. In which, something went wrong and you may need to tweak the makefile or config.mk files before compile is successful.
run command ‘make install’ as root. This is not listed in the README_STA_pci file that comes with downloaded driver zip file. This takes of copying the file to /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/rt5390sta.ko. running depmod, creating /etc/Wireless/… folder.
Edit the /etc/modules and add the line at the end of this file
rt5390sta
Edit the file /etc/modprobe.d/blacklist.conf and add the below line to it…
blacklist rt2800pci
Reboot and you should see an ra0 interface when you run the command ‘ifconfig’
You may have to run ‘/etc/init.d/network-manager restart’ command to have it show in the first go.
Once, the wireless icon shows up, look for your wireless SSID and there you go surfing
至于 su,你可能想尝试一下,sudo su -l
或者只是sudo su
答案2
我首先建议确定这台机器的 wifi 卡。快速谷歌搜索后,它似乎是一个集成的英特尔芯片。您能否运行并发布以下命令的结果
lspci
lsusb
如果有机会,我还想知道您笔记本电脑的确切型号。如果您能翻过来并提供除序列号之外的所有信息,那将很有帮助。我问这个问题的原因是,华硕网站没有列出适用于这款笔记本电脑的任何类型的 Ralink 驱动程序,即使是适用于 Windows 7 的驱动程序。