跳转到主内容

Repair guides and support for wired or wireless devices that provide internet connectivity.

246 个问题 查看全部

Ubuntu laptop creates ad hoc wifi and Android can't connect

I'm trying to setup a WiFi hotspot on my laptop I just installed Ubuntu 17.04 onto. The problem is that it outputs an ad hoc network type, which Android devices can't use. So I need to change to a regular access point. I've tried to change by:

''sudo gedit /etc/NetworkManager/system-connections/wifi-hotspot"

And entering "ap" to replace ad hoc, but it didn't work.

The laptop is a Dell Inspiron 6400 with a Qualcomm atheros WiFi card.

@nick

已回答! 显示答案 我也有这个问题

这是一个好问题吗?

得分 1
添加一条评论

2个答案

已选择的解决方案

I think this is more related to your card - this laptop is fairly old from the research I did on it (~2006-2008?) and it probably shipped with a Dell Wireless card, which Dell does a lot of the time on consumer models. I wouldn't be surprised if this is a chipset problem.

My advice would be to replace the factory wireless card and install a Intel card or Killer wireless card (Intel based, not QCA). A lot of Dell's first party wireless cards are not known for compatibility outside of the 1-2 versions of shipping Windows at the time the laptop was new. I ran into this issue with a DW1506 (AR9485 based, ath9k) on 10, so I had to replace the wireless card (long overdue anyway, due to the single band fail the 9k is known for). However, they work FANTASTIC in Linux.

Your laptop is old enough to be from the time period when Dell used Broadcom, so I would run "lspci -nn" and make sure you are right about this being an Atheros/QCA card. Judging from my research on Parts People a lot of the Dell branded cards are Broadcom.

这个答案有帮助吗?

得分 3

8条评论:

@nick and @pccheese , a Dell WiFi card is simply a Broadcom chip. This command installs broadcom on Ubuntu. However, normally Ubuntu during initial setup should have asked you to install this type of 'restricted' drivers, which would have fixed it too.

sudo apt-get install bcmwl-kernel-source

完成的

I wouldn't be surprised if Dell is just like Azurewave - take the reference design, give it a Dell VID and then certify it as a Dell card.

完成的

@nick, yes, the Dell cards are so close to reference that these make great hackintosh laptops as these older ones have the same chipsets as the Macbook Pro Airport and Airport Extreme cards. The latter ones were more hit/miss.

完成的

I generally like Intel cards the most, but I don't mind the QCA/Atheros cards as much as the Broadcom ones. I know the QCA/Atheros ones have the best chance with Linux. Since I've heard a few horror stories about BCM cards in Linux I would much rather suggest someone who wants to use the machine for Linux just switch it out for an Intel or Dell Atheros card.

The problem is a lot of old laptops need a full height bracket (in some cases, the antennas need to be replaced). That makes the project of putting a good card in slightly more difficult then it should be. It's not a challenge for me because I can measure the antenna distance I need from the lid to the wireless card, but that may not be as easy for someone who doesn't have as much experience.

完成的

@nick and @avanteguarde

This laptop has been overhauled. I put this in it: https://www.amazon.com/gp/aw/d/B012JQVUX...

I don't think it's an issue with the wireless card. The problem is that I can't make Linux output a network type other than ad hoc, so I need to change that. Many people have this issue.

Now that you know exactly what card I have, what command should I run?

完成的

显示更多的3条评论

添加一条评论

@pccheese , your first problem is using Ubuntu 17.04 ;-)

That may be way too bleeding edge for what you are trying to do.

16.04 is LTS, meaning mainstream support for the next 3.5 years, where is 17.04 is experimental and abandoned after a year or two.

Anywho, before I hear it from @nick, to each their own is my retort.

Your problem is you need to either use the Gui to create an Internet connection share, or if you really want to do it via Terminal, you need to use IP tables to forward packets from one Interface to another.

This page may help.

https://help.ubuntu.com/community/Intern...

这个答案有帮助吗?

得分 1
添加一条评论

添加你的答案

George A. 将永远感激不已
浏览统计数据:

过去 24 小时: 0

过去 7 天: 0

过去 30 天: 3

总计 3,083