精华内容
下载资源
问答
  • Deepin Linux系统中开启ap-hotspot wifi热点供其他计算机和android手机上网教程,亲测可行。

    Deepin Linux系统中开启ap-hotspot wifi热点供其他计算机和android手机上网

    已经用了很长时间的Deepin linux系统了,现在深深感觉到Deepin linux系统很适合中国人,但是在使用的过程中,因为它毕竟是linux系统,所以还有许多不完善的地方,比如说,我在使用的过程中,一直不会用我的计算机建立wifi热点以供别人的计算机或者我自己的android手机共享热点。

    经过我在网上找了好久,最终于找到一个办法,就是开启ap-hotspot wifi热点,不说十分好用,但是也不难用,不像在windows系统下一样可以用界面进行管理,也不能限制连入此热点的用户的网速。但是还是可以使用的,而且网速也很正常。下面,我就分享一下我设置热点的经验吧。


    一、 安装配置ap-hotspot

    1. 安装ap-hotspot


    在终端中逐条输入如下命令:

    $ sudo add-apt-repository ppa:nilarimogard/webupd8
    $ sudo apt-get update
    $ sudo apt-get install ap-hotspot
    


    到这里,我们就已经安装好了ap-hotspot了,那么接下来就需要我们去进行设置了。

    2. 配置ap-hotspot


    这一步需要我们对我们刚才安装的ap-hotspot进行配置。
    首先,我们需要在终端中输入如下命令:

    $ sudo ap-hotspot configure
    


    这时,系统检查网络和WIFI接口,然后提示我们配置热点,我们只需要按照要求进行配置就行了。
    首先是

    Detecting configuration...
    Detected eth0 as the network interface connected to the Internet. Press ENTER if
    this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.):
    


    在这里我们可以不用做什么,只是按Enter键就可以了。
    然后接下来是:

    Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the
    desired interface (e.g.- wlan1):
    


    在这里,我们继续按Enter键就可以了。
    接下来的一条是提示我们设置我们的wifi名称的,如下:

    Enter the desired Access Point name or press ENTER to use the default one
    (myhotspot):
    


    我们输入我们要用的wifi名称,并按Enter键进入下一步设置(也可以直接按Enter键,此时我们wifi热点名称是默认的名称myhotspot)。
    接下来就是提示我们设置热点的密码:

    Enter the desired WPA Passphrase below or press ENTER to use the default one
    (qwerty0987):
    


    这里,我们输入要设置成的密码,注意,在这个输入密码的过程中密码会回显出来,并不像我们以前在命令行输入密码的时候,密码都是不会回显的。输入密码之后按Enter键(在这里,我们可以像上一步一样,不输入密码,直接按Enter键。这时我们的热点的密码就是默认密码qwerty0987)。
    到了这里,我们的WIFI热点就已经配置成功了!

    3. 使用ap-hotspot


    在这里,我们就只需要开启我们的热点就可以用了。
    开启热点的命令为:

    $ sudo ap-hotspot start
    


    然后若输出如下,则开启热点成功,就可以用其他计算机或者android手机使用该热点了。

    Starting Wireless Hotspot...
    Wireless Hotspot active
    


    执行命令$ sudo ap-hotspot config可以查看参数帮助,显示如下:

    $ sudo ap-hotspot config
    Usage:  ap-hotspot [argument]
        start         start wireless Hotspot  //启动
        stop          stop wireless hotspot  //关闭
        restart       restart wireless hotspot  //重启
        configure     configure hotspot  //配置
        debug         tart with detailed messages  //调试
    


    当然,linu系统中使用软件的时候,各种问题都会出现,这时世人皆知的了。如果在上面的启动过程中有问题出现,请继续向后文看。提供解决办法在后文。

    二、 错误解决

    1. 没有出现“ Wireless Hotspot active ”,并一直保持“ Starting Wireless Hotspot… ”


    原因:hostapd默认版本有bug
    解决办法:移除hostapd
    命令:

    $ sudo apt-get remove hostapd
    


    然后再根据提示,选择y,回车。即允许卸载。
    然后,对于64位机运行如下命令:

    $ cd /tmp
    $ wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubun
    tu2.1_amd64.deb
    $ sudo dpkg -i hostapd*.deb
    $ sudo apt-mark hold hostapd
    


    对于32位机运行如下命令:

    $ cd /tmp
    $ wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubun
    tu2.1_i386.deb
    $ sudo dpkg -i hostapd*.deb
    $ sudo apt-mark hold hostapd
    


    “sudo apt-mark hold hostapd” 语句的作用是将防止版本升级到有问题的版本。
    之后需要重新安装ap-hotspot
    在命令行输入:

    $ sudo apt-get install ap-hotspot
    


    进行重新安装。待安装完成后,转上面的配置部分,再次进行配置。

    2. 显示:“ Wireless Hotspot active bash: notify-send: 未找到命令 ”


    解决方法:
    在命令行输入:

    $ notify-send
    


    终端显示如果显示找不到这个命令,则说明没有安装该命令。执行如下命令进行安装:

    $ sudo apt-get install libnotify-bin
    


    然后就可以用命令启动热点了。启动前,需要先停用热点,因为上一步在开启的过程中,虽然开启失败了,但进程还在运行。因此,先运行如下命令关闭:

    $ sudo ap-hotspot stop
    


    然后再重新用命令:

    $ sudo ap-hotspot start
    


    开启热点。

    ###3. 启动时显示“ Another process is already running ”


    解决方法:
    在命令行输入:

    $ sudo ap-hotspot stop


    然后就可以继续进行其他的操作了。

    ——————————————————————————-


    以上内皆为本人请自验证。
    如有疑问,请发送邮件至1993wbb@sina.cn或者加QQ群274313939寻求解答

    展开全文
  • WiFi hotspot setup

    2020-11-26 02:45:47
    <div><p>There seems to be an issue with the WiFi hotspot. <p>It is possible to set up the hotspot but the connection get's refused when trying to connect. The issue is known in the NVIDIA forum. ...
  • Hotspot/wifi-direct

    2020-12-30 15:02:34
    t a function to automatically create a hotspot or use Wi-Fi direct to send files to another device, you have to be on the same network already. <p>This would be extremely useful in making transferring...
  • Octopi as WiFi Hotspot

    2021-01-02 01:33:41
    <div><p>was asking on another issue thread about setting up OctoPi as a WiFi Hotspot. Guysoft suggested he open a separate issue. <p>Here's a a solution to do that by Kenneth Jiang: ...
  • 连接WIFI热点,显示wifi地址 //这里是可以修改hostname alps/device/mediatek/common/device.mk PRODUCT_PROPERTY_OVERRIDES += net.hostname=MyOS alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/...

    连接WIFI热点,显示wifi地址

    //这里是可以修改hostname
    alps/device/mediatek/common/device.mk 	
    PRODUCT_PROPERTY_OVERRIDES += net.hostname=MyOS
    
    alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/src/com/mediatek/settings/wifi/hotspot/TetherWifiSettings.java 	
    private void handleWifiApClientsChanged() {
            Context prefContext = getPreferenceScreen().getPreferenceManager().getContext();
            mConnectedCategory.removeAll();
            mBlockedCategory.removeAll();
            mClientList = mHotspotManager.getHotspotClients();
            if (mClientList != null) {
                Log.d(TAG, "client number is " + mClientList.size());
                for (HotspotClient client : mClientList) {
                    ButtonPreference preference = new ButtonPreference(prefContext, client, this);
                    String deviceName = mHotspotManager.getClientDeviceName(client.deviceAddress);
                    //deviceName 设备的名称
                    //preference.setTitle(deviceName);
                    preference.setTitle(client.deviceAddress);
                    //client.deviceAddress 地址
                    //Redmine148414  modified for Hotspot null device name 2018/10/18:begin
                    if (deviceName != null && deviceName.equalsIgnoreCase("*")) {
                        preference.setTitle(client.deviceAddress);
                    }
                    //Redmine148414  modified for Hotspot null device name 2018/10/18:end
                    if (client.isBlocked) {
                        preference.setButtonText(getResources().getString(
                                R.string.wifi_ap_client_unblock_title));
                        mBlockedCategory.addPreference(preference);
                        Log.d(TAG, "blocked client is " + deviceName);
                    } else {
                        preference.setButtonText(getResources().getString(
                                R.string.wifi_ap_client_block_title));
                        mConnectedCategory.addPreference(preference);
                        Log.d(TAG, "connected client is " + deviceName);
                    } 
                }
                if (mConnectedCategory.getPreferenceCount() == 0) {
                    Preference preference = new Preference(prefContext);
                    preference.setTitle(R.string.wifi_ap_no_connected);
                    mConnectedCategory.addPreference(preference);
                }
                if (mBlockedCategory.getPreferenceCount() == 0) {
                    Preference preference = new Preference(prefContext);
                    preference.setTitle(R.string.wifi_ap_no_blocked);
                    mBlockedCategory.addPreference(preference);
                }
            }
        }
    

    log:

    01-03 10:11:15.113  4276  4276 E myy     : deviceName======== Honor_8_Lite-aeb132c6962f
    01-03 10:11:15.114  4276  4276 E myy     : client.deviceAddress1111======== 30:74:96:ee:0e:b2
    01-03 10:11:15.119  4276  4276 E myy     : deviceName======== MyOS
    01-03 10:11:15.119  4276  4276 E myy     : client.deviceAddress1111======== e0:48:d3:0d:d2:96
    01-03 10:11:15.125  4276  4276 E myy     : deviceName======== *
    01-03 10:11:15.125  4276  4276 E myy     : client.deviceAddress1111======== 00:08:22:86:81:07
    01-03 10:11:15.125  4276  4276 E myy     : client.deviceAddress======== 00:08:22:86:81:07
    
    
    展开全文
  • Problem with wifi hotspot

    2020-12-09 10:07:35
    However it generates kernal panic if I use the wifi hotspot device from FreedomPop. Is there a way I can generate a debug log to send to you? Thanks.</p><p>该提问来源于开源项目:lwfinger/rtl...
  • Wifihotspot

    2019-04-18 11:31:00
    那么STA又是如何开启Soft AP(hotspot)功能呢? 有时候,将AP统称为热点。 Android 7,8,9的hotspot部分都不相同,这里是以Android P (9)为例。 APP层(settings) packages/apps/Settings/sr...

    对扫描AP的STA来讲,AP(一般是无线路由器)和Soft AP(由STA 软件模仿的AP)是一样的,没有什么区别。

    那么STA又是如何开启Soft AP(hotspot)功能呢?

    有时候,将AP统称为热点。

    Android 7,8,9的hotspot部分都不相同,这里是以Android P (9)为例。

     APP层(settings)

    packages/apps/Settings/src/com/android/settings/

    TetherSettings.java 等,

    packages/apps/Settings/src/com/android/settings/wifi/tether/

    WifiTetherSettings.java 等。

     

    keywords:tether/startTethering/startSoftAp

    转载于:https://www.cnblogs.com/chsigu/p/10728607.html

    展开全文
  • http://efreedom.com/Question/1-7048922/Android-23-Wifi-Hotspot-API 关于wifi的开启关闭与连接热点 http://www.eoeandroid.com/thread-95432-1-1.html Android Bluetooth编程 http://blog.csdn.net/yuej
    展开全文
  • <div><p>Hello, is it possible to create a hotspot using two wifi adapters one internal and one external? using the first wifi adapter to connect to another hotspot that has internet, and the second to...
  • ubuntu使用ap-hotspot建立WIFI热点

    千次阅读 2016-11-03 11:19:49
    具体方法如下:使用ap-hotspot来创建WIFI热点,而不要用Ad hoc。终端里输入: $ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install ap-hotspot $ sudo ...
  • particular i wanted to install the Hotspot so the internal wifi of the raspberry pi 3 will be used as a hotspot and another external wifi to be connected to as client to another access point to have ...
  • <p>If you switch back to non-hotspot wifi from a standard landline router, everything works fine. I didn't test Ethernet, but it probably works fine too. </li><li> <p>If the wind is blowing in the...
  • Maxidix HotSpot是一款用来建WIFI无线热点的小工具,只要你的电脑安装有无线网卡且已经接入互联网,都可以通过安装Maxidix HotSpot将你的电脑变成无线路由器,为其他带有无线设备的电脑或平板电脑、智能手机提供...
  • android wifi hotspot

    2013-03-22 08:37:00
    String WIFI_AP_STATE_CHANGED_ACTION = "android.net.wifi.WIFI_AP_STATE_CHANGED" ; public static final String EXTRA_WIFI_AP_STATE = "wifi_state" ; public static final int WIFI_AP_...
  • <div><p>This causes oref0-online to set up a local-only wifi hotspot if it is unable to get online via wifi or Bluetooth tethering. This allows phones (including iPhones, which can't do Bluetooth ...
  • WiFi-Direct / Hotspot

    2021-01-03 10:43:50
    t work with WiFi Direct nor Hotspot provided by one of the mobiles. Is this something one could expect to be solved soon? Best</p><p>该提问来源于开源项目:dakhnod/Meshenger</p></div>
  • <div><p>replaces #1114 </p><p>该提问来源于开源项目:iiab/iiab</p></div>
  • 用ap-hotspot上建立wifi热点的时候出现了问题,配置好ssid 和 key后运行sudo apt-mark hold hostapd后一直处于sudo apt-mark hold hostapd状态。
  • [10.2] WiFi Hotspot issue

    2020-12-09 11:20:51
    <div><p>WiFi hotspot worked in cm-10.2_urushi-LX-20131024-NIGHTLY but not it cm-10.2_urushi-LX-20131101-NIGHTLY. <p>The wifi from the phone appears to configure itself correctly but from other devices...
  • 现在很多移动设备都提供wifi hostpot功能,使用方便,也省下了原来无线路由器的成本。wifiwifi hotspot功能是互斥的,即在同一时间里,你只能用其中一种功能。本文实现...
  • <div><p>WiFi can be declared as mobile hotspot, you might want to check that case. I am not sure how <code>ConnectivityManager.isActiveNetworkMetered()</code> works for mobile data connections, so I ...
  • It says “firmware successfully flashed” but once I re-apply power I can’t seem to find the wifi hotspot for the Sonoff. Also the wifi light on the Sonoff remains off. Any help would be much ...
  • <div><p>for review</p><p>该提问来源于开源项目:iiab/iiab</p></div>
  • <div><p>status update rpi install http://dpaste.com//13CDA44 more commits to come.</p><p>该提问来源于开源项目:iiab/iiab</p></div>
  • <div><p>Having Craftbeerpi as headless ...<p>I would suggest an option that if no network is detected it will create its own hotspot.</p><p>该提问来源于开源项目:Manuel83/craftbeerpi3</p></div>
  • ideally using the wifi hotspot name. Since I don't know how much of the data going through the wifi interface is going through my phone's hot spot, and how much is going through my home ...
  • http://www.whitebyte.info/android/android-wifi-hotspot-manager-class package com.whitebyte.wifihotspotutils; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOExce....

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 694
精华内容 277
关键字:

hotspotwifi