Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#1

帖子 lixue0126 » 2014-02-24 10:21

Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,请各位大侠帮忙解答,多谢
是否需要安装驱动?如需是哪些?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#2

帖子 poloshiao » 2014-02-24 10:34

Ubuntu 32bit 服务器版12.04
使用 預設文字模式 ?
還是 有再安裝 圖形桌面 ?

備註
服务器版(文字模式) 再安裝 圖形桌面
其 Linux 核心 的設定 不會受到影響
WLAN 和 3G
圖形桌面 預設由 network-manager 管理上網及設定
處理 wlan 及 3G 上網設定 比較容易成功
服务器版(文字模式) 由 /etc/network/interfaces 設定
功能比較強大 但是需要一些技術基礎
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#3

帖子 lixue0126 » 2014-02-24 10:36

桌面版安装包里面是预安装的,而server版里面没有,大家谁知道需要安装的是那几个包?可以在哪下载?
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#4

帖子 lixue0126 » 2014-02-24 10:46

我的机器上有两个有线网卡,一个无线网卡,有线的都正常驱动了,但是无线网卡好像没驱动上

iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.


lspci -vnn
03:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link 5300 [8086:4235]
Subsystem: Intel Corporation Device [8086:1001]
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at dfc00000 (64-bit, non-prefetchable)
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-16-ea-ff-ff-02-18-80
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#5

帖子 lixue0126 » 2014-02-24 11:11

poloshiao 写了:
Ubuntu 32bit 服务器版12.04
使用 預設文字模式 ?
還是 有再安裝 圖形桌面 ?

備註
服务器版(文字模式) 再安裝 圖形桌面
其 Linux 核心 的設定 不會受到影響
WLAN 和 3G
圖形桌面 預設由 network-manager 管理上網及設定
處理 wlan 及 3G 上網設定 比較容易成功
服务器版(文字模式) 由 /etc/network/interfaces 設定
功能比較強大 但是需要一些技術基礎

只安装了服务器版(文字模式),不 再安裝 圖形桌面,需要3G和WLAN上网,安装哪些驱动?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#6

帖子 poloshiao » 2014-02-24 13:02

1. sudo ifconfig -a
2. sudo cat /etc/network/interfaces
3. sudo lshw -class network
把結果 貼上來
備註
因爲沒安裝圖形界面 要複製可能需要辛苦一點
如果能從另一臺桌面版電腦 ssh 連到 這一臺 Server
https://help.ubuntu.com/community/SSH
可以解決這個複製的問題
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#7

帖子 lixue0126 » 2014-02-24 14:30

poloshiao 写了:1. sudo ifconfig -a
2. sudo cat /etc/network/interfaces
3. sudo lshw -class network
把結果 貼上來
備註
因爲沒安裝圖形界面 要複製可能需要辛苦一點
如果能從另一臺桌面版電腦 ssh 連到 這一臺 Server
https://help.ubuntu.com/community/SSH
可以解決這個複製的問題

root@ubuntu:~# sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 00:05:b7:d3:b5:50
inet 地址:192.168.1.12 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::205:a7ff:fedd:b550/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:1437389 错误:0 丢弃:10917 过载:0 帧数:0
发送数据包:41010 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:155172579 (155.1 MB) 发送字节:3882614 (3.8 MB)

eth1 Link encap:以太网 硬件地址 00:05:b7:dd:b5:51
BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:11836 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:11836 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:795486 (795.4 KB) 发送字节:795486 (795.4 KB)

root@ubuntu:~# sudo cat /etc/network/interfaces
# 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
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#8

帖子 lixue0126 » 2014-02-24 14:32

poloshiao 写了:1. sudo ifconfig -a
2. sudo cat /etc/network/interfaces
3. sudo lshw -class network
把結果 貼上來
備註
因爲沒安裝圖形界面 要複製可能需要辛苦一點
如果能從另一臺桌面版電腦 ssh 連到 這一臺 Server
https://help.ubuntu.com/community/SSH
可以解決這個複製的問題
root@ubuntu:~# sudo lshw -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 06
serial: 00:05:b7:dd:b5:50
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.12 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:43 ioport:e000(size=256) memory:dfe04000-dfe04fff memory:dfe00000-dfe03fff
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth1
version: 06
serial: 00:05:b7:dd:b5:51
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:44 ioport:d000(size=256) memory:dfd04000-dfd04fff memory:dfd00000-dfd03fff
*-network
description: Network controller
product: Ultimate N WiFi Link 5300
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=iwlwifi latency=0
resources: irq:46 memory:dfc00000-dfc01fff
头像
langyxxl
帖子: 443
注册时间: 2012-01-17 22:17

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#10

帖子 langyxxl » 2014-02-24 21:35

如果是中国移动的3G上网wvdial.conf文件一定要这样写:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","cmnet"
Modem Type = USB Modem
Phone = *98*1#
ISDN = 0
Password = guest
Username = guest
Modem = /dev/ttyACM1
Baud = 460800

不然会变成2G速度的
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#11

帖子 poloshiao » 2014-02-25 10:52

我的机器上有两个有线网卡,一个无线网卡,有线的都正常驱动了,但是无线网卡好像没驱动上
sudo lshw -class network
*-network
description: Network controller
product: Ultimate N WiFi Link 5300
vendor: Intel Corporation
configuration: driver=iwlwifi latency=0
serial: 沒有
logical name: 沒有
表示 雖然有驅動模組 但是沒有被驅動 因爲
沒有抓到 MAC 碼 (serial:)
所以沒有分配給 wlan0 無線網卡界面

補救方法
尋找有效驅動模組及正確安裝方法

1. http://www.intel.com/products/wireless/ ... m=referral
2. https://wiki.debian.org/iwlwifi
3. https://bugs.launchpad.net/ubuntu/+sour ... bug/997883
4. https://help.ubuntu.com/community/Hardw ... CardsIntel
If your keyboard doesn't have a button for switching wifi on, you have to isulate the pin-20 of the wireless card to make it always on.
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#12

帖子 lixue0126 » 2014-02-26 11:23

補救方法
尋找有效驅動模組及正確安裝方法

1. http://www.intel.com/products/wireless/ ... m=referral
2. https://wiki.debian.org/iwlwifi
3. https://bugs.launchpad.net/ubuntu/+sour ... bug/997883
4. https://help.ubuntu.com/community/Hardw ... CardsIntel
If your keyboard doesn't have a button for switching wifi on, you have to isulate the pin-20 of the wireless card to make it always on.[/quote]


/lib/firmware/iwlwifi-5000-2.ucode 这个驱动文件已经找到,并且已经拷贝到对应目录下了,可还是没成功。。。。。
lixue0126
帖子: 9
注册时间: 2014-02-24 10:16

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#13

帖子 lixue0126 » 2014-02-26 11:34

poloshiao 写了:
我的机器上有两个有线网卡,一个无线网卡,有线的都正常驱动了,但是无线网卡好像没驱动上
sudo lshw -class network
*-network
description: Network controller
product: Ultimate N WiFi Link 5300
vendor: Intel Corporation
configuration: driver=iwlwifi latency=0
serial: 沒有
logical name: 沒有
表示 雖然有驅動模組 但是沒有被驅動 因爲
沒有抓到 MAC 碼 (serial:)
所以沒有分配給 wlan0 無線網卡界面

補救方法
尋找有效驅動模組及正確安裝方法

1. http://www.intel.com/products/wireless/ ... m=referral
2. https://wiki.debian.org/iwlwifi
3. https://bugs.launchpad.net/ubuntu/+sour ... bug/997883
4. https://help.ubuntu.com/community/Hardw ... CardsIntel
If your keyboard doesn't have a button for switching wifi on, you have to isulate the pin-20 of the wireless card to make it always on.



If your keyboard doesn't have a button for switching wifi on, you have to isulate the pin-20 of the wireless card to make it always on.
这句话的意思是说键盘上如果没有wifi开关键,就只能通过更改针脚跳线来打开无线吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 32bit 服务器版12.04,如何使用WLAN和3G上网,是否需要安装驱动?如需是哪些?

#14

帖子 poloshiao » 2014-02-26 15:06

这句话的意思是说键盘上如果没有wifi开关键,就只能通过更改针脚跳线来打开无线吗?
to isulate the pin-20 of the wireless card
isulate 使絕緣
猜測是 斷開/off 第 20 針脚跳線
回复