October 24, 2019, 7:14 am
I am in the process of setting up PHPVirtualBox on Ubuntu LTS 18.04.
everything went smooth, I installed VirtualBox and PHPVirtualBox. When it came to opening up the firewall I have hit a brick wall.
I did the following to my ufw:
ufw default deny incoming
ufw default allow outgoing
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
I rebooted the server and ran "ufw status"
Status: active
To |
Action |
From |
22/tcp |
ALLOW |
Anywhere |
80/tcp |
ALLOW |
Anywhere |
443 |
ALLOW |
Anywhere |
22/tcp (v6) |
ALLOW |
Anywhere (v6) |
80/tcp (v6) |
ALLOW |
Anywhere (v6) |
443/tcp (v6) |
ALLOW |
Anywhere (v6) |
|
|
|
When I run a NMAP scan on the server it says 80 is open, but 22 and 443 are closed. For the life of me I cannot see why those ports are closed when they are obviously open on UFW.
Any idea what might be causing this? This is for my internal test server to run PHPVirtualBox.
↧
October 24, 2019, 5:34 pm
Hi all. I had a crash and did the recovery where you have to hit y like three thousand times, but then my wireless driver seems to have been corrupted as the computer isn't seeing it. I'm on an asus vivobook. Used the script:
http://paste.ubuntu.com/p/fBmKQSBFr4/
I'm connected right now through one of my pi generic internet bugs. I plugged it in and it just worked, but the intel card is still dead. The network is coming up as unclaimed. I've googled around and tried some stuff but nothing has worked.
*-network UNCLAIMED
description: Network controller
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: 78
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: memory:ef000000-ef001fff
*-network
description: Wireless interface
physical id: 2
bus info: usb@1:3
logical name: wlx8c882b00078d
serial: 8c:88:2b:00:07:8d
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu ip=10.1.10.79 multicast=yes wireless=IEEE 802.11bgn
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
↧
↧
October 24, 2019, 7:10 pm
So I recently dual booted my laptop with windows 10 and Ubuntu 19. A few months ago I sacrificed my network card in exchange for the ability to run an eGPU off my laptop. This resulted in me losing my networking abilities and so to make up for it I decided to drop 50 bucks on this u̶s̶e̶l̶e̶s̶s̶ ̶p̶i̶e̶c̶e̶ ̶o̶f̶ ̶g̶a̶r̶b̶a̶g̶e̶ amazing high quality product by aSUS and now lack the drivers to connect to the internet. I have attempted many drivers which mainly go under the name rtl88xxbu and most of them ask me to use the make command and dkms. After manually installing dkms and attempting make over and over again I cannot get the driver to install it or at least spew out something like a .ko file. Pls halp
↧
October 25, 2019, 3:53 am
Hi,
I developed an application in python to emulate the car audio system when a smartphone is connected via Bluetooth to my laptop.
I used the official documents of bluetooth services that I need to write the libraries.
The streaming audio of the media is working fine and I hear the audio on the speaker of the laptop
My problem is that streaming audio of the phone call does not work. Neither the microphone nor the speaker of the laptop works during a phone call.
I found the same problem here
https://askubuntu.com/questions/1060...-via-bluetooth and it seems to be a problem of the ubuntu
I tried both with Ubuntu 16.04 and 18.04.
Anyone has an idea?
↧
October 25, 2019, 1:40 pm
AC 53 NANO (ASUS) WiFi Dongle Driver Troubles
So I recently dual booted my laptop with windows 10 and Ubuntu 19. A few months ago I sacrificed my network card in exchange for the ability to run an eGPU off my laptop. This resulted in me losing my networking abilities and so to make up for it I decided to drop 50 bucks on this u̶s̶e̶l̶e̶s̶s̶ ̶p̶i̶e̶c̶e̶ ̶o̶f̶ ̶g̶a̶r̶b̶a̶g̶e̶ amazing high quality product by aSUS and now lack the drivers to connect to the internet. I have attempted many drivers which mainly go under the name rtl88xxbu and most of them ask me to use the make command and dkms. After manually installing dkms and attempting make over and over again I cannot get the driver to install it or at least spew out something like a .ko file. Pls halp
↧
↧
October 25, 2019, 2:52 pm
Hey, I've got problems getting my wireless connection to work.
https://ubuntuforums.org/showthread....6#post13776566
I've got the adapter from this thread and followed the instructions posted by Chili. I got the same error as Muldengold on page 2.
I tried the instructions of Chili from page 3, but I got this output when trying to use make:
Code:
make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-32-generic/build M=/home/patrick/rtl8822bu modules
make[1]: Verzeichnis /usr/src/linux-headers-5.0.0-32-generic wird betreten
CC [M] /home/patrick/rtl8822bu/core/rtw_cmd.o
CC [M] /home/patrick/rtl8822bu/core/rtw_security.o
CC [M] /home/patrick/rtl8822bu/core/rtw_debug.o
CC [M] /home/patrick/rtl8822bu/core/rtw_io.o
CC [M] /home/patrick/rtl8822bu/core/rtw_ioctl_query.o
CC [M] /home/patrick/rtl8822bu/core/rtw_ioctl_set.o
CC [M] /home/patrick/rtl8822bu/core/rtw_ieee80211.o
CC [M] /home/patrick/rtl8822bu/core/rtw_mlme.o
CC [M] /home/patrick/rtl8822bu/core/rtw_mlme_ext.o
CC [M] /home/patrick/rtl8822bu/core/rtw_mi.o
CC [M] /home/patrick/rtl8822bu/core/rtw_wlan_util.o
CC [M] /home/patrick/rtl8822bu/core/rtw_vht.o
CC [M] /home/patrick/rtl8822bu/core/rtw_pwrctrl.o
CC [M] /home/patrick/rtl8822bu/core/rtw_rf.o
CC [M] /home/patrick/rtl8822bu/core/rtw_recv.o
CC [M] /home/patrick/rtl8822bu/core/rtw_sta_mgt.o
CC [M] /home/patrick/rtl8822bu/core/rtw_ap.o
CC [M] /home/patrick/rtl8822bu/core/mesh/rtw_mesh.o
CC [M] /home/patrick/rtl8822bu/core/mesh/rtw_mesh_pathtbl.o
CC [M] /home/patrick/rtl8822bu/core/mesh/rtw_mesh_hwmp.o
CC [M] /home/patrick/rtl8822bu/core/rtw_xmit.o
CC [M] /home/patrick/rtl8822bu/core/rtw_p2p.o
CC [M] /home/patrick/rtl8822bu/core/rtw_rson.o
CC [M] /home/patrick/rtl8822bu/core/rtw_tdls.o
CC [M] /home/patrick/rtl8822bu/core/rtw_br_ext.o
CC [M] /home/patrick/rtl8822bu/core/rtw_iol.o
CC [M] /home/patrick/rtl8822bu/core/rtw_sreset.o
CC [M] /home/patrick/rtl8822bu/core/rtw_btcoex_wifionly.o
CC [M] /home/patrick/rtl8822bu/core/rtw_btcoex.o
CC [M] /home/patrick/rtl8822bu/core/rtw_beamforming.o
CC [M] /home/patrick/rtl8822bu/core/rtw_odm.o
CC [M] /home/patrick/rtl8822bu/core/rtw_rm.o
CC [M] /home/patrick/rtl8822bu/core/rtw_rm_fsm.o
CC [M] /home/patrick/rtl8822bu/core/efuse/rtw_efuse.o
CC [M] /home/patrick/rtl8822bu/os_dep/osdep_service.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/os_intfs.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/usb_intf.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/usb_ops_linux.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/ioctl_linux.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/xmit_linux.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/mlme_linux.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/recv_linux.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/ioctl_cfg80211.o
CC [M] /home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.o
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1403:4: error: const struct wiphy_vendor_command has no member named policy
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1403:13: error: VENDOR_CMD_RAW_DATA undeclared here (not in a function); did you mean VENDOR_CMD_MAX_DATA_LEN?
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~~~~~~~~~~~~~~
VENDOR_CMD_MAX_DATA_LEN
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1412:4: error: const struct wiphy_vendor_command has no member named policy
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1421:4: error: const struct wiphy_vendor_command has no member named policy
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1431:4: error: const struct wiphy_vendor_command has no member named policy
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~
/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.c:1440:4: error: const struct wiphy_vendor_command has no member named policy
.policy = VENDOR_CMD_RAW_DATA,
^~~~~~
scripts/Makefile.build:284: recipe for target '/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.o' failed
make[2]: *** [/home/patrick/rtl8822bu/os_dep/linux/rtw_cfgvendor.o] Error 1
Makefile:1614: recipe for target '_module_/home/patrick/rtl8822bu' failed
make[1]: *** [_module_/home/patrick/rtl8822bu] Error 2
make[1]: Verzeichnis /usr/src/linux-headers-5.0.0-32-generic wird verlassen
Makefile:2001: recipe for target 'modules' failed
make: *** [modules] Error 2
Here is the output of my wireless-info.txt
Code:
########## wireless info START ##########
Report from: 25 Oct 2019 23:45 CEST +0200
Booted last: 25 Oct 2019 00:00 CEST +0200
Script from: 22 Oct 2018 03:34 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
##### kernel ############################
Linux 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=1
##### desktop ###########################
Ubuntu
##### lspci #############################
1f:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
Kernel driver in use: r8169
##### lsusb #############################
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 001 Device 006: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 005: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
##### secure boot #######################
SecureBoot disabled
Platform is in Setup Mode
##### lsmod #############################
wmi_bmof 16384 0
wmi 28672 1 wmi_bmof
##### interfaces ########################
[/etc/network/interfaces]
auto lo
iface lo inet loopback
##### ifconfig ##########################
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp31s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp31s0' [IF1]> brd <MAC address>
inet 192.168.0.73/24 brd 192.168.0.255 scope global dynamic noprefixroute enp31s0
valid_lft 2460sec preferred_lft 2460sec
inet6 2a02:908:691:e3e0:80e5:bf95:fe72:4650/64 scope global temporary dynamic
valid_lft 592409sec preferred_lft 73711sec
inet6 2a02:908:691:e3e0:8bbd:bca4:f650:cab9/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 1022998sec preferred_lft 418198sec
inet6 fe80::79d3:50d6:83e:d73/64 scope link noprefixroute
valid_lft forever preferred_lft forever
##### iwconfig ##########################
enp31s0 no wireless extensions.
lo no wireless extensions.
##### route #############################
default via 192.168.0.1 dev enp31s0 proto dhcp metric 100
192.168.0.0/24 dev enp31s0 proto kernel scope link src 192.168.0.73 metric 100
##### resolv.conf #######################
[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']
nameserver 127.0.0.53
options edns0
search home
##### network managers ##################
Installed:
NetworkManager
Running:
root 958 1 0 20:18 ? 00:00:01 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
GENERAL.DEVICE: enp31s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (Motherboard (one of many))
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: --
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp31s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:1d:01.0/0000:1f:00.0/net/enp31s0
GENERAL.IP-IFACE: enp31s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Kabelgebundene Verbindung 1
GENERAL.CON-UUID: d46b3b96-03fc-37bd-92e0-af79061ef7f2
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 1000 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.0.73/24
IP4.GATEWAY: 192.168.0.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 100
IP4.ROUTE[2]: dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]: 192.168.0.1
IP4.DOMAIN[1]: home
DHCP4.OPTION[1]: requested_host_name = 1
DHCP4.OPTION[2]: requested_domain_search = 1
DHCP4.OPTION[3]: dhcp_lease_time = 3600
DHCP4.OPTION[4]: requested_broadcast_address = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_time_offset = 1
DHCP4.OPTION[8]: host_name = patrick-desktop
DHCP4.OPTION[9]: requested_netbios_scope = 1
DHCP4.OPTION[10]: requested_wpad = 1
DHCP4.OPTION[11]: domain_name = home
DHCP4.OPTION[12]: broadcast_address = 192.168.0.255
DHCP4.OPTION[13]: requested_interface_mtu = 1
DHCP4.OPTION[14]: requested_subnet_mask = 1
DHCP4.OPTION[15]: routers = 192.168.0.1
DHCP4.OPTION[16]: ip_address = 192.168.0.73
DHCP4.OPTION[17]: next_server = 192.168.0.1
DHCP4.OPTION[18]: requested_domain_name_servers = 1
DHCP4.OPTION[19]: subnet_mask = 255.255.255.0
DHCP4.OPTION[20]: requested_static_routes = 1
DHCP4.OPTION[21]: expiry = 1572042366
DHCP4.OPTION[22]: requested_ntp_servers = 1
DHCP4.OPTION[23]: domain_name_servers = 192.168.0.1
DHCP4.OPTION[24]: requested_netbios_name_servers = 1
DHCP4.OPTION[25]: requested_routers = 1
DHCP4.OPTION[26]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[27]: dhcp_message_type = 5
DHCP4.OPTION[28]: network_number = 192.168.0.0
DHCP4.OPTION[29]: dhcp_server_identifier = 192.168.0.1
DHCP4.OPTION[30]: default_ip_ttl = 64
IP6.ADDRESS[1]: 2a02:908:691:e3e0:80e5:bf95:fe72:4650/64
IP6.ADDRESS[2]: 2a02:908:691:e3e0:8bbd:bca4:f650:cab9/64
IP6.ADDRESS[3]: fe80::79d3:50d6:83e:d73/64
IP6.GATEWAY: fe80::925c:44ff:feac:7f68
IP6.ROUTE[1]: dst = 2a02:908:691:e3e0::/64, nh = fe80::925c:44ff:feac:7f68, mt = 100
IP6.ROUTE[2]: dst = ::/0, nh = fe80::925c:44ff:feac:7f68, mt = 100
IP6.ROUTE[3]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[5]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[6]: dst = 2a02:908:691:e3e0::/64, nh = ::, mt = 100
IP6.DNS[1]: 2a02:908:2:a::1
IP6.DNS[2]: 2a02:908:2:b::1
DHCP6.OPTION[1]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[2]: dhcp6_name_servers = 2a02:908:2:a::1 2a02:908:2:b::1
DHCP6.OPTION[3]: dhcp6_preference = 0
DHCP6.OPTION[4]: dhcp6_server_id = 0:1:3:1:25:3a:64:1a:2a:2:9:8:6:0:0:9:54:bc:1e:a:13:ca:ea:cd
DHCP6.OPTION[5]: requested_dhcp6_client_id = 1
DHCP6.OPTION[6]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[7]: dhcp6_client_id = 0:4:8:c2:e4:37:95:bd:bb:ed:77:93:39:e9:92:65:33:35
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: d46b3b96-03fc-37bd-92e0-af79061ef7f2 | Kabelgebundene Verbindung 1
##### NetworkManager.state ##############
cat: /var/lib/NetworkManager/NetworkManager.state: No such file or directory
##### NetworkManager config #############
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved
[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan
[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/
[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve
##### NetworkManager profiles ###########
##### Netplan config ####################
[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager
##### iw reg get ########################
Region: Europe/Berlin (based on set time zone)
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
enp31s0 no frequency information.
lo no frequency information.
##### iwlist scan #######################
enp31s0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
##### module infos ######################
##### module parameters #################
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
##### rc.local ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
########## wireless info END ############
Thank you very much in advance!
↧
October 25, 2019, 2:55 pm
Hi,
I'm trying to set up an ad-hoc network on my Raspberry Pi (running Ubuntu Mate) so that I can ssh into it from my laptop without an internet connection. I'm following this tutorial:
https://adhocloopback.wordpress.com/...-ubuntu-16-04/ and I've run into an issue.
I can't seem to get my Pi to connect to its own ad-hoc network. I see its SSID in the list of Hidden Connections, but when I try to connect it just gives me the little "attempting to connect" wifi icon, then changes to a "disconnected" wifi icon with a pop-up saying (you guessed it) "Disconnected."
I'm unsure how to move forward from here; my laptop doesn't see the ad-hoc SSID in available connections, and I just don't know how to get the Pi to broadcast it. Any advice?
↧
October 25, 2019, 7:00 pm
Hi,
I'm really new to Ubuntu. Just installed Ubuntu 19.10 and it appears I'm connected to my wireless network, but I cannot connect to the internet.
My wifi signal light on my laptop is constantly blinking.
I did run lshw - C network and I see the above wireless adapter.
Any help is greatly appreciated for this Linux noon.
↧
October 25, 2019, 10:18 pm
Hi,
I am trying to create a Omnet Project by following the Tutorial
https://docs.omnetpp.org/tutorials/tictoc/part4/.
I am getting error in my ini file:
[General]
# nothing here
[Config Tictoc13]
network = Tictoc13
My .ned file is:
Code:
simple Txc13
{
parameters:
@display("i=block/routing");
gates:
inout gate[];
}
network Tictoc13
{
types:
channel Channel extends ned.DelayChannel {
delay = 100ms;
}
submodules:
tic[6]: Txc13;
connections:
tic[0].gate++ <--> Channel <--> tic[1].gate++;
tic[1].gate++ <--> Channel <--> tic[2].gate++;
tic[1].gate++ <--> Channel <--> tic[4].gate++;
tic[3].gate++ <--> Channel <--> tic[4].gate++;
tic[4].gate++ <--> Channel <--> tic[5].gate++;
}
My tx13.cc file is:
Code:
#include <stdio.h>
#include <string.h>
#include <omnetpp.h>
using namespace omnetpp;
// Include a generated file: the header file created from tictoc13.msg.
// It contains the definition of the TictocMsg10 class, derived from
// cMessage.
#include "tictoc13_m.h"
/**
* In this step the destination address is no longer node 2 -- we draw a
* random destination, and we'll add the destination address to the message.
*
* The best way is to subclass cMessage and add destination as a data member.
* Hand-coding the message class is usually tiresome because it contains
* a lot of boilerplate code, so we let OMNeT++ generate the class for us.
* The message class specification is in tictoc13.msg -- tictoc13_m.h
* and .cc will be generated from this file automatically.
*
* To make the model execute longer, after a message arrives to its destination
* the destination node will generate another message with a random destination
* address, and so forth.
*/
class Txc13 : public cSimpleModule
{
protected:
virtual TicTocMsg13 *generateMessage();
virtual void forwardMessage(TicTocMsg13 *msg);
virtual void initialize() override;
virtual void handleMessage(cMessage *msg) override;
};
Define_Module(Txc13);
void Txc13::initialize()
{
// Module 0 sends the first message
if (getIndex() == 0) {
// Boot the process scheduling the initial message as a self-message.
TicTocMsg13 *msg = generateMessage();
scheduleAt(0.0, msg);
}
}
void Txc13::handleMessage(cMessage *msg)
{
TicTocMsg13 *ttmsg = check_and_cast<TicTocMsg13 *>(msg);
if (ttmsg->getDestination() == getIndex()) {
// Message arrived.
EV << "Message " << ttmsg << " arrived after " << ttmsg->getHopCount() << " hops.\n";
bubble("ARRIVED, starting new one!");
delete ttmsg;
// Generate another one.
EV << "Generating another message: ";
TicTocMsg13 *newmsg = generateMessage();
EV << newmsg << endl;
forwardMessage(newmsg);
}
else {
// We need to forward the message.
forwardMessage(ttmsg);
}
}
TicTocMsg13 *Txc13::generateMessage()
{
// Produce source and destination addresses.
int src = getIndex(); // our module index
int n = getVectorSize(); // module vector size
int dest = intuniform(0, n-2);
if (dest >= src)
dest++;
char msgname[20];
sprintf(msgname, "tic-%d-to-%d", src, dest);
// Create message object and set source and destination field.
TicTocMsg13 *msg = new TicTocMsg13(msgname);
msg->setSource(src);
msg->setDestination(dest);
return msg;
}
void Txc13::forwardMessage(TicTocMsg13 *msg)
{
// Increment hop count.
msg->setHopCount(msg->getHopCount()+1);
// Same routing as before: random gate.
int n = gateSize("gate");
int k = intuniform(0, n-1);
EV << "Forwarding message " << msg << " on gate[" << k << "]\n";
send(msg, "gate$o", k);
}
I am getting the error:
No such .ned type Tictoc13
Some body please guide me.
Zulfi.
↧
↧
October 26, 2019, 4:54 am
Hi, I've bought a laptop that just came out in the market. I didn't think that might have been a problem. (I also do not understand that much about operative systems and stuff...)
Everything is working except my wi-fi.
I looked in some forums and the general answer is to use the command
lshw -C network
To figure out the wi-fi adapter product and manually go install the drivers, but it doesn't give me much information, here's the output:
https://imgur.com/7oJ9icG
I've no idea what to do to get my wi-fi working.
I appreciate in advance any help.
Tiago.
↧
October 25, 2019, 2:47 pm
Hi,
I'm trying to set up an ad-hoc network on my Raspberry Pi (running Ubuntu Mate) so that I can SSH into it from my laptop.
Several of the guides I've found online (like this:
https://help.ubuntu.com/community/WifiDocs/Adhoc and this:
https://askubuntu.com/questions/1032...ad-hoc-network) have said that I need to assign a static IP address to both devices before I can connect to the ad-hoc network. But all the tutorials on how to assign a static IP seem to imply that static IPs are assigned for a device's connection to a specific network.
So I'm having this chicken-and-egg problem: I can't assign my laptop a static IP for my ad-hoc network without first having a connection to it, and I can't connect to it without a static IP.
Am I understanding this correctly? Is there a way to set up a static IP for my laptop that corresponds to my Pi's ad-hoc network?
Thanks!
↧
October 26, 2019, 8:18 am
Hello all. I have put together an old rig of mine (FX-8350 on a MSI FX970 gaming motherboard) that I will be using downstairs in my hobby room. (restore and sale antiques / vintage items). There are times when I want to remote into this machine from another area of the home however that is my current issue. Originally I was running the latest version of Linux Mint and had it setup where using windows 10 I could remote desktop, select XVNC as my connection and able to control the machine via a desktop. However wanted to come back to Ubuntu. I know there are ways to do SSH but I don't want a command line access. But rather able to control the system remotely. I've tried various methods of setting up xrdp, xorg,
xserver-xorg-core and xorgxrdp.
The last attempt was last night following the instructions from this youtuber:
https://www.youtube.com/watch?v=a0p0y1bN8Tw&t=625s
His method worked. I was originally excited as yes, finally I can remote into the machine. However then the problem occurred when I was down trying to log in local. Nothing would happen. I rebooted the machine, it'll come up to the login screen but my keyboard and mouse is locked out. Can't move the mouse and none of the keys do anything.
So this morning I have scraped and reloaded a fresh install of Ubuntu 18.04.03 again and now, not doing anything for remote access until I get some solid help :) As I don't really want to have to reinstall yet again and again. As I am just spinning circles.
Thanks
↧
October 26, 2019, 1:06 pm
Hi,
I recently purchased a Logitech M720 Triathlon to use between two computers, on my desktop off of the usb dongle and on my laptop via Bluetooth. It works fine under Windows on both computers by either USB or Bluetooth, and fine on Pop_OS by USB on my desktop, but it is working very poorly on my Kubuntu 19.04 install on my laptop through Bluetooth. It feels laggy and unresponsive, but it pairs and seems to work okay otherwise, it's just slow and choppy, with a lot of acceleration. I've tried as many solutions as I could find through Google searches, but nothing has affected it so far.
Here's a few of the solutions I remember trying:
https://askubuntu.com/questions/6635...s-time-by-time
https://askubuntu.com/questions/1090...cosmic/1090150
I've tested every available mouse polling rate I could by running the commands
Code:
sudo modprobe -r usbhid && sudo modprobe usbhid mousepoll=x
I've tried Bluedevil, Blueman, and purging and reinstalling Bluez.
This mouse is great otherwise, but I really need it to work under Linux or there's not much point in having it.
Any help is much appreciated, just let me know if you need any diagnostics or further info.
Thank you!
↧
↧
October 27, 2019, 12:16 am
When the first time I installed Ubuntu 19.10 dual-boot with Windows 8.1, I can connect my wifi in Ubuntu, but now when I open Windows, my wifi don't work on it. Help me guys!
↧
October 27, 2019, 5:33 am
I have ubuntu 18.04 and my pc is connected to internet through a Mercusys MW300UM wifi adapter. How can I install it on ubuntu?
↧
October 27, 2019, 12:23 pm
I'm trying to connect to the router using a wired connection but all I'm getting is 'wired connecting' and nothing happens. With the cell phone trying to connect to the same router with the wi-fi I'm getting 'impossibe to set up IP', how should I go on about this?
Note: there's 4 routers in the building I'm at, I've tried to switch the routers as I thought the problem was in the settings but whichever router I connect to this ethernet cable on this floor I get this problem.
my version:
Code:
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarchDistributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
I've tried to follow
method 2 here, by first turning off the laptop wi-fi as I can get the signal from the router downstairs, saved to my desktop the file that is under 'this link' there. I've followed all the instructions but when I run the text file a fresh new file is not created...I'm assuming
the location it is run from is the desktop here.
I don't know if troubleshooting the downstairs wi-fi network can be of any help, in that case this is the result:
https://pastebin.com/1GMw3bPX
The network I'm trying to connec to is Mpot_Rome 03 (or 02 in case I'm going to switch routers again)
edit: nevermind, I've to put this on hold, it seems like the IT guys is coming back next week as he needed to buy some piece.
↧
October 27, 2019, 12:49 pm
Hey guys, I can connect to my wifi but there is no internet connection plus Kubuntu gives me error:
iwlwifi: bios contains wgds but no wrds
Help me out I tried bunch of things...
↧
↧
October 27, 2019, 3:33 pm
↧
October 27, 2019, 4:45 pm
Is this the right method to do? :-
https://www.reddit.com/r/SurfaceLinux/comments/9t53gq/wifi_fixed_on_surface_go_ubuntu_1810/
Step 1) Download the board.bin file from here: http://www.killernetworking.com/supp...bian/board.bin - I saved the file to Downloads -
Step 2) Open the Terminal
Step3) Remove the current board.bin file from directory hw2.1:sudo rm /lib/firmware/ath10k/QCA6174/hw2.1/board.bin
Step 4) Copy the board.bin file from Downloads to hw2.1*sudo cp ~/Downloads/board.bin /lib/firmware/ath10k/QCA6174/hw2.1
Step 5) Remove the current board.bin file from directory hw3.0sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
Step 6) Copy the board.bin file from Downloads to hw3.0*sudo cp ~/Downloads/board.bin /lib/firmware/ath10k/QCA6174/hw3.0
Step 7) Restart
↧
October 28, 2019, 9:34 am
I have used wifi problem-free for years, but since a few weeks my network seems to have come to a grinding halt, with ping times as high as several 10s of seconds. Another computer on the same network works like a charm, so I can safely rule out problems with internet provider, modem or wifi. All I can see is that the package loss in communicating with my cable modem runs as high as 10%.
Another symptom that puzzles me is that 'nmcli d wifi' yields a list of all wifi networks in the neighbourhood, but after a while it lists only my own network. The complete list doesn't become available until I reset my wifi.
I'm puzzled, and don't even know where to start. Does it look like my Broadcom 4352 is slowly passing out?
↧