I can send things to the printer, but they remain in the printer queue and won't print. The printer is "enabled;" so, why won't it print?
Can't print to my network printer (Linux Mint 19.2) [closed]
18.04 Realtek RTL8821CE won't WiFi with Ubuntu 18.04
I have installed Ubuntu 18.04 alongside Windows 10 on my hp 15 da0101nv laptop.]
I am not able to connect to a WiFi network through the Realtek RTL8821CE wireless adapter and there is no option for it, the only option is to connect by wire to the internet. How can I fix the problem with the wifi?
how to use regular expression with iptables
I am trying to do a routing rule to a bunch a subdomains matched by regular expression.
iptables -t nat -A PREROUTING -m string --string "/must-[a-z0-9-\.]+gonow[a-z\.]+/g" --algo regex -p tcp -m tcp --dport 12 -j DNAT --to-destination 1.1.1.1:12
getting error - iptables: No chain/target/match by that name.
No WiFi Adaptor found in Lenovo X1 Carbon Generation 7 in Ubuntu 18.04 with Windows 10 dual boot [duplicate]
I know there are various articles around this like No WiFi Adaptor found in Lenovo X1 Carbon Generation 7 I have tried all of them but it still does not work.
In my case, maybe the difference is I have Windows in the dual boot mode. I am not sure if makes the difference.
I am listing all the information asked in several posts. Currently below messages are from a clean machine only with sudo apt update && sudo apt upgrade
as I saw the driver version is 48, which shouldn't have a bug as discussed in other threads.
- I have disabled SecureBoot at BIOS setup
- I tried 19.10 but the same problem occurs.
- I did
sudo apt update && sudo apt upgrade
. - When I just "try" Ubuntu, wifi is accessible.
- The result of
lspci -knn | grep Net -A3; rfkill list
:
lspci -knn | grep Net -A3; rfkill list
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
Subsystem: Intel Corporation Device [8086:0030]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
- The output of
dmesg | grep iwl
[ 2.490736] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 2.495372] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[ 2.495374] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[ 2.495375] iwlwifi 0000:00:14.3: Found debug configuration: 0
[ 2.495629] iwlwifi 0000:00:14.3: loaded firmware version 48.13675109.0 op_mode iwlmvm
[ 2.514118] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x354
[ 2.521181] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 2.521700] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[ 3.543574] iwlwifi 0000:00:14.3: Collecting data: trigger 15 fired.
[ 3.543680] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 3.543682] iwlwifi 0000:00:14.3: Status: 0x00000000, count: 1252760551
[ 3.543683] iwlwifi 0000:00:14.3: Loaded firmware version: 48.13675109.0
[ 3.543684] iwlwifi 0000:00:14.3: 0xD4C7EED8 | ADVANCED_SYSASSERT
[ 3.543684] iwlwifi 0000:00:14.3: 0x2251684B | trm_hw_status0
[ 3.543685] iwlwifi 0000:00:14.3: 0xBEF35CD8 | trm_hw_status1
[ 3.543685] iwlwifi 0000:00:14.3: 0xB746E1F6 | branchlink2
[ 3.543686] iwlwifi 0000:00:14.3: 0xCEA1F51F | interruptlink1
[ 3.543686] iwlwifi 0000:00:14.3: 0x67A3D9D5 | interruptlink2
[ 3.543687] iwlwifi 0000:00:14.3: 0xE609052A | data1
[ 3.543688] iwlwifi 0000:00:14.3: 0x472660DD | data2
[ 3.543688] iwlwifi 0000:00:14.3: 0x7FCC66F8 | data3
[ 3.543689] iwlwifi 0000:00:14.3: 0x6FB4BFCD | beacon time
[ 3.543689] iwlwifi 0000:00:14.3: 0x709089B1 | tsf low
[ 3.543690] iwlwifi 0000:00:14.3: 0x9E6CDC07 | tsf hi
[ 3.543690] iwlwifi 0000:00:14.3: 0x29ED7E3D | time gp1
[ 3.543691] iwlwifi 0000:00:14.3: 0xC0510D06 | time gp2
[ 3.543691] iwlwifi 0000:00:14.3: 0x6636E134 | uCode revision type
[ 3.543692] iwlwifi 0000:00:14.3: 0x678F1CD2 | uCode version major
[ 3.543693] iwlwifi 0000:00:14.3: 0x7A5FFAA5 | uCode version minor
[ 3.543693] iwlwifi 0000:00:14.3: 0x11C6989A | hw version
[ 3.543694] iwlwifi 0000:00:14.3: 0x5A62B33F | board version
[ 3.543694] iwlwifi 0000:00:14.3: 0x0600F745 | hcmd
[ 3.543695] iwlwifi 0000:00:14.3: 0xBF7B4CAF | isr0
[ 3.543695] iwlwifi 0000:00:14.3: 0x7863D7E6 | isr1
[ 3.543696] iwlwifi 0000:00:14.3: 0x74C85D56 | isr2
[ 3.543697] iwlwifi 0000:00:14.3: 0x12113192 | isr3
[ 3.543697] iwlwifi 0000:00:14.3: 0xE9A1BE50 | isr4
[ 3.543698] iwlwifi 0000:00:14.3: 0xD70D74BB | last cmd Id
[ 3.543698] iwlwifi 0000:00:14.3: 0x708975A3 | wait_event
[ 3.543699] iwlwifi 0000:00:14.3: 0xA2331840 | l2p_control
[ 3.543699] iwlwifi 0000:00:14.3: 0xDEB3CE99 | l2p_duration
[ 3.543700] iwlwifi 0000:00:14.3: 0x38D83FB1 | l2p_mhvalid
[ 3.543700] iwlwifi 0000:00:14.3: 0x94E06689 | l2p_addr_match
[ 3.543701] iwlwifi 0000:00:14.3: 0xD709B222 | lmpm_pmg_sel
[ 3.543701] iwlwifi 0000:00:14.3: 0x2208C97A | timestamp
[ 3.543702] iwlwifi 0000:00:14.3: 0x05759FD7 | flow_handler
[ 3.543765] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 3.543766] iwlwifi 0000:00:14.3: Status: 0x00000000, count: 7
[ 3.543766] iwlwifi 0000:00:14.3: 0x201013F1 | ADVANCED_SYSASSERT
[ 3.543767] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[ 3.543767] iwlwifi 0000:00:14.3: 0xC008CF5C | umac branchlink2
[ 3.543768] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[ 3.543768] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[ 3.543769] iwlwifi 0000:00:14.3: 0x00000003 | umac data1
[ 3.543770] iwlwifi 0000:00:14.3: 0x20000302 | umac data2
[ 3.543770] iwlwifi 0000:00:14.3: 0x01300202 | umac data3
[ 3.543771] iwlwifi 0000:00:14.3: 0x00000030 | umac major
[ 3.543771] iwlwifi 0000:00:14.3: 0x13675109 | umac minor
[ 3.543772] iwlwifi 0000:00:14.3: 0x00005CDA | frame pointer
[ 3.543772] iwlwifi 0000:00:14.3: 0xC0887F58 | stack pointer
[ 3.543773] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[ 3.543774] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[ 3.543817] iwlwifi 0000:00:14.3: Fseq Registers:
[ 3.543819] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_ERROR_CODE
[ 3.543821] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
[ 3.543823] iwlwifi 0000:00:14.3: 0xDBD30111 | FSEQ_CNVIO_INIT_VERSION
[ 3.543826] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
[ 3.543828] iwlwifi 0000:00:14.3: 0x42B0206C | FSEQ_TOP_CONTENT_VERSION
[ 3.543830] iwlwifi 0000:00:14.3: 0x3A730A84 | FSEQ_ALIVE_TOKEN
[ 3.543832] iwlwifi 0000:00:14.3: 0xBFB12BF8 | FSEQ_CNVI_ID
[ 3.543834] iwlwifi 0000:00:14.3: 0x4A4705F7 | FSEQ_CNVR_ID
[ 3.543836] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[ 3.543840] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
[ 3.543845] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 3.543900] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 3.543923] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5c45, CPU2 Status: 0x3
[ 3.543923] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[ 3.543926] iwlwifi 0000:00:14.3: Firmware not running - cannot dump error
[ 3.555562] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
- The output of
ls /lib/firmware | grep iwl; uname -a
iwlwifi-1000-5.ucode
iwlwifi-100-5.ucode
iwlwifi-105-6.ucode
iwlwifi-135-6.ucode
iwlwifi-2000-6.ucode
iwlwifi-2030-6.ucode
iwlwifi-3160-10.ucode
iwlwifi-3160-12.ucode
iwlwifi-3160-13.ucode
iwlwifi-3160-16.ucode
iwlwifi-3160-17.ucode
iwlwifi-3160-7.ucode
iwlwifi-3160-8.ucode
iwlwifi-3160-9.ucode
iwlwifi-3168-21.ucode
iwlwifi-3168-22.ucode
iwlwifi-3168-27.ucode
iwlwifi-3168-29.ucode
iwlwifi-3945-2.ucode
iwlwifi-4965-2.ucode
iwlwifi-5000-5.ucode
iwlwifi-5150-2.ucode
iwlwifi-6000-4.ucode
iwlwifi-6000g2a-5.ucode
iwlwifi-6000g2a-6.ucode
iwlwifi-6000g2b-6.ucode
iwlwifi-6050-5.ucode
iwlwifi-7260-10.ucode
iwlwifi-7260-12.ucode
iwlwifi-7260-13.ucode
iwlwifi-7260-16.ucode
iwlwifi-7260-17.ucode
iwlwifi-7260-7.ucode
iwlwifi-7260-8.ucode
iwlwifi-7260-9.ucode
iwlwifi-7265-10.ucode
iwlwifi-7265-12.ucode
iwlwifi-7265-13.ucode
iwlwifi-7265-16.ucode
iwlwifi-7265-17.ucode
iwlwifi-7265-8.ucode
iwlwifi-7265-9.ucode
iwlwifi-7265D-10.ucode
iwlwifi-7265D-12.ucode
iwlwifi-7265D-13.ucode
iwlwifi-7265D-16.ucode
iwlwifi-7265D-17.ucode
iwlwifi-7265D-21.ucode
iwlwifi-7265D-22.ucode
iwlwifi-7265D-27.ucode
iwlwifi-7265D-29.ucode
iwlwifi-8000C-13.ucode
iwlwifi-8000C-16.ucode
iwlwifi-8000C-21.ucode
iwlwifi-8000C-22.ucode
iwlwifi-8000C-27.ucode
iwlwifi-8000C-31.ucode
iwlwifi-8000C-34.ucode
iwlwifi-8000C-36.ucode
iwlwifi-8265-21.ucode
iwlwifi-8265-22.ucode
iwlwifi-8265-27.ucode
iwlwifi-8265-31.ucode
iwlwifi-8265-34.ucode
iwlwifi-8265-36.ucode
iwlwifi-9000-pu-b0-jf-b0-33.ucode
iwlwifi-9000-pu-b0-jf-b0-34.ucode
iwlwifi-9000-pu-b0-jf-b0-38.ucode
iwlwifi-9000-pu-b0-jf-b0-41.ucode
iwlwifi-9000-pu-b0-jf-b0-43.ucode
iwlwifi-9000-pu-b0-jf-b0-46.ucode
iwlwifi-9260-th-b0-jf-b0-33.ucode
iwlwifi-9260-th-b0-jf-b0-34.ucode
iwlwifi-9260-th-b0-jf-b0-38.ucode
iwlwifi-9260-th-b0-jf-b0-41.ucode
iwlwifi-9260-th-b0-jf-b0-43.ucode
iwlwifi-9260-th-b0-jf-b0-46.ucode
iwlwifi-cc-a0-46.ucode
iwlwifi-cc-a0-48.ucode
iwlwifi-Qu-b0-hr-b0-48.ucode
iwlwifi-Qu-b0-jf-b0-48.ucode
iwlwifi-Qu-c0-hr-b0-48.ucode
iwlwifi-Qu-c0-jf-b0-48.ucode
iwlwifi-QuZ-a0-hr-b0-48.ucode
iwlwifi-QuZ-a0-jf-b0-48.ucode
Linux my-machine 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I'd appreciate any advice on this. Thank you very much in advance!
Wifi turns off automatically in Ubuntu 16.04 if speed goes above 150 Mbps
I have 5G internet connection. Speed is always between 200 - 300 Mbps. When I am downloading something and download speed goes above 150 Mbps, WiFi turn off. It doesn't even show available WiFis. Rebooting the system doesn't help. I have to shut down the system and start again. I researched and tried below solutions but unfortunately none worked.
- Restart network manager.
- Disable power management
- Disable 11n
- Uninstalled network-manager and installed WICD network manager
- Reinstalled Ubuntu 16.04
My system:
Lenovo Thinkpad P52.
Wireless Card: Intel Wireless AC 9560
Anybody faced same issue and have solution? I will really appreciate the help as I am trying to resolve this issue for last 1 month and it's driving me crazy.
Thanks
Update:
I changed the setting of IPv6 from Automatic to Ignore. It's been 24 hours now, WiFi has not turned off. I hope this is the solution.
Update: Wifi turned off after 10 hours. So, this is not the fix.
[Solved]
Updated the kernel to 5.1.3 using Ukuu Kernel Update Utility. It's been 2 days now since laptop is up and running and WiFi is not turned off. Noticed other things as well after updating the kernel. WiFi Signal is always 100% now. Earlier it was always between 80 - 90 percent. Also, boot time has reduced significantly.
Adding DNS servers to Ubuntu 18.04
There is no less than 3 different ways to add DNS servers posted all over the internet. I have been reading netplan documentation and am I still not clear on how to add dns servers to a laptop. I am in a country with censorship/surveillance and I am using a VPN that is leaking DNS information.
say what you will, at least adding nameservers to resolv.conf was simple. Here is the best example of configuring DNS with a wifi connection that I have found. https://netplan.io/examples
network:
version: 2
renderer: networkd
wifis:
wlp2s0b1:
dhcp4: no
dhcp6: no
addresses: [192.168.0.21/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1, 8.8.8.8]
access-points:
"network_ssid_name":
password: "**********"
This examples makes it seem that I need to configure every access point I go to, I'm really hoping that's not true. Can one of you smart people please post a realistic example for home/small business user.
Are we really expecting desktop users to write .yaml files now? I just want to put nameservers in a file and be done with it.
Thank you.
Ubuntu/Kubuntu can not connect to wifi
After installing kubuntu I can not connect to my WiFi. Every time I try to connect: it first asks for password 2 or 3 times and then just disconnects
Before You ask:
Yes, WiFi was working before (in Gnome) but after installing KDE it stopped working and No, switching to Gnome desktop does not bring the WiFi back
Yes, I have searched for solutions in Internet
Yes, there is a wifi connection available
This is how I installed Kubuntu
lsb_release -a
Details:
Distributor Id: Ubuntu
Desc: Ubuntu 19.04
Release: 19.04
Codname: disco
ubuntu firewall
I am using ubuntu server as firewall with 3 interfaces (interface for students and another for teachers and DMZ) in VMware, I want to block Facebook website for customers of eth1
then I used this rule:
iptables -A INPUT -j DROP -p tcp --destination - port 443 -i eth1
But it did not work and the customers of interface eth1
always access the site, how block sites for clients of eth1
using rules iptables
?
Getting a 5GHz wifi to work on 18.04 LTS with Broadcom wireless card
I would like to connect to a 5GHz wifi with my broadcom wireless adapter [14e4:43a0] (Ubuntu 18.04 LTS). I feel like I tried all the options google had for me. At some point I had the wifi working for 2.4GHz in one session but after rebooting it was gone. I am beginning to doubt that this is achievable.
Currently the proprietary bcmwl drivers (tried install both with the GUI and apt-get) are not loaded correctly (at least that is what I think UNCLAIMED means):
sudo lshw -C network
shows me:
*-network UNCLAIMED
description: Network controller
product: BCM4360 802.11ac Wireless Network Adapter
vendor: Broadcom Inc. and subsidiaries
physical id: 0
bus info: pci@0000:06:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f9400000-f9407fff memory:f9200000-f93fffff
card details:
lspci -knn | grep -A4 -i "Network controller"
06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:0619]
Kernel modules: bcma, wl
07:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch [10b5:8747] (rev ca)
Kernel driver in use: pcieport
wl shows up when I call lsmod
and I blacklisted bcma in /etc/modprobe/blacklist.config
If you think that I will not be able to achieve my goal with this card: Can you point me to another card that works? I can not change the channel on the router.
EDIT 1:
sudo modprobe wl
gives no output
EDIT 2:
dmesg | grep wl
[ 5.877439] wl: module license 'MIXED/Proprietary' taints kernel.
[ 5.887137] wl 0000:06:00.0: enabling device (0100 -> 0102)
[ 5.904976] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905063] wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905092] ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905102] wl_pci_probe+0x476/0xf75 [wl]
[ 5.905132] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905191] wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905219] ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905228] wl_pci_probe+0x476/0xf75 [wl]
[ 5.905244] ERROR @wl_alloc_wdev :
[ 5.905277] ERROR @wl_cfg80211_detach :
[ 5.905277] NULL ndev->ieee80211ptr, unable to deref wl
[ 5.905285] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905336] wl_free+0xcb/0x280 [wl]
[ 5.905367] ? wl_cfg80211_attach+0x47d/0x6d0 [wl]
[ 5.905376] wl_pci_probe+0x648/0xf75 [wl]
Automatizing apt-mirrors selection
I have ubuntu 15.04
on my PC and I have issues everytime I make an update or I install packets mirrors are so slow and it's almost impossible to download with an average speed of 20 KB/s.
I've tried to switch to other mirrors and test them until I find one that boosts up the download speed (all the servers have the same speed most of the time) but this method is a real time wasting one.
How can I automatize the selection of the fastest mirror for apt ? is there a script to ping mirrors and select the best one temporary ?
Thanks.
Trying to install/enable XRDP on Ubuntu
I am trying to install XRDP onto Ubuntu, I have tried many different steps and keep coming across the same error:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am brand new to Linux over all as I just downloaded yesterday. My end goal is to use my desktop with windows while running my laptop with Ubuntu as a VM. I am planning on using mRemoteNG as the access point on my desktop (Windows)... if that's relevant. I also have Remmina installed on the laptop (Ubuntu).
I am also new to this so maybe that's showing here...
I have pasted below my Ubuntu install
Version of Ubuntu Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic
system GE62 6QD (Default string)
processor Intel(R) Core(TM) i7-6700HQ CPU @ 2.60G
memory 16GiB System memory
disk 1TB HGST HTS721010A9
There's also a GTX960M that doesn't show
SSH into Virtual Machine from outside of NAT router
I have a virtual machine on my host which I am trying to SSH from outside a NAT router. Both the host and the virtual machine are using the wifi interface and so have the same IP assigned by the home router. SSH is set for a different port on the VM and the host; I can thus SSH into either machine from the other locally, and I can SSH into the host from outside, but not the virtual machine. I would like to route traffic to a specific port (I have set this to 22000 on the virtual machine and home router) to the VM. Given that both have the same outside (and inside) IP; how do I do this? Thanks
Not able to connect to school wifi network in Ubuntu 16.04 - need to edit ca-certificate
My school asks us to do this to connect to the wifi in the ca-certificate
Search for the line:
system-ca-certs=true
Change this line to:
system-ca-certs=false
The problem is that I cannot find this line in the ca-certificate.
I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.
P.S There is no problem in connecting to my home wifi network.
these are [the instructions given by my school][1] for connecting to the wifi
The settings are:
- Security Type: WPA2 Enterprise
- Username: ldap-Username
- Password: ldap-Password
- Authentication: PEAP
- PEAP version: automatic
- Inner authentication: MSCHAPV2
- ca-certificate: none
Note: For Ubuntu 14.04 users-
The ca-certificate settings has to be changed to false. This may be done in the following way:
Open the file in an editor of your choice:
/etc/NetworkManager/system-connections/IITB-Wireless
Search for the line:
system-ca-certs=true
Change this line to:
system-ca-certs=false
THIS IS THE CA_CERTIFICATE
[connection]
id=IITB-Wireless
uuid=xxxxxxxxx
type=wifi
permissions=
secondaries=
[wifi]
mac-address=D8:5D:E2:BC:D2:05
mac-address-blacklist=
mac-address-randomization=0
mode=infrastructure
seen-bssids=
ssid=IITB-Wireless
[wifi-security]
group=
key-mgmt=wpa-eap
pairwise=
proto=
[802-1x]
altsubject-matches=
ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
eap=ttls;
identity=xxxxxxx
password=xxxxxxx
phase2-altsubject-matches=
phase2-autheap=mschapv2
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
How to access Ubuntu Maas account from remote network?
I have just recently installed Ubuntu Maas. I see that there is a web interface to configure the maas network, but that is on the local network. The regular login is like this:
https://<XXX.XXX.XXX.XXX>:theport...
I forgot what the port is on the local network, but that is not something to I want to publicize. Anyways, I also know my public IP address. How do I access that interface through outside of the local network so that I can configure my Maas machines remotely?
Other links I have looked at:
https://askubuntu.com/questions/443149/maas-network-connections
https://askubuntu.com/questions/917520/maas-access-to-node
https://askubuntu.com/questions/714456/cant-access-webmin-from-remote-local-computer
IP Failover / Ip Alias for SA:MP
I host my own SA:MP Server and Teamspeak3 server , web server etc. I have 16 IP addresses on my OVH-Game dedicated server and I configured IP Aliasing.
Teamspeak3 runs on all 16 IP addresses, web server is also running fine on all 16's. SA:MP runs only on the address that I bind in server.cfg or if I remove bind it runs on the first IP found on the server, the other addresses seem dead.
I searched everywhere but couldn't find a solution, I even send an email to a hosting that owns few SA:MP servers that run on 16 IP addresses, but no response.
Is it possible to use my HP multifunction printer from any computer on my LAN network?
I installed my new HP printer (Color LaserJet Pro MFP M479fdn) on my main server (Ubuntu 18.04). It worked as is. I had nothing to do (i.e. it was automatically discovered and added to my system).
A few days later, I added it to another computer (Ubuntu 16.04) and it worked like a charm. I could print form that other computer.
Today, I wanted to print from my server and I could not see the printer. The installed printer said "Does not accept jobs".
Looking around for why that might be, I found a great pile of useless junk...
I tested with nmap since I should be able to find a few open ports:
From the Ubuntu 16.04 (working)
$ nmap -Pn -p 80,139,443,631,8080,9100,9220,9290,9500 192.168.2.189 Starting Nmap 7.01 ( https://nmap.org ) at 2020-03-21 13:36 PDT Nmap scan report for 192.168.2.189 Host is up (0.59s latency). PORT STATE SERVICE 80/tcp open http 139/tcp closed netbios-ssn 443/tcp open https 631/tcp open ipp 8080/tcp open http-proxy 9100/tcp open jetdirect 9220/tcp closed unknown 9290/tcp closed unknown 9500/tcp closed ismserver Nmap done: 1 IP address (1 host up) scanned in 1.35 seconds
From the server (Ubuntu 18.04--failing)
$ nmap -Pn -p 80,139,443,631,8080,9100,9220,9290,9500 192.168.2.189 Starting Nmap 7.60 ( https://nmap.org ) at 2020-03-21 13:47 PDT Nmap scan report for 192.168.2.189 Host is up. PORT STATE SERVICE 80/tcp filtered http 139/tcp filtered netbios-ssn 443/tcp filtered https 631/tcp filtered ipp 8080/tcp filtered http-proxy 9100/tcp filtered jetdirect 9220/tcp filtered unknown 9290/tcp filtered unknown 9500/tcp filtered ismserver Nmap done: 1 IP address (1 host up) scanned in 5.11 seconds
As we can see, from the computer where CUPS says the printer is not accessible, the ports are closed.
Is there something in the printer that decided to block my main server? I could not see anything wrong in there. Also the printer has to use my main server to gets it's IP address through the DHCP server. So it's still talking to my main server, but blocks all the ports...
Just in case, I wide opened the firewall between the printer and my main server and it's still not letting me do anything. Not just that, but since it worked before, I don't get it. Would the second computer cause such problems?!? I also disconnected the printer power and restarted. It made no difference. I also tried to diconnect/reconnect the network cable and I can see that the DHCP re-assigns the expected IP address just fine. So the print CAN talk to my server, it just blocks inbound traffic but why?!?
So I'm not too sure what to try next. What would you do to make the printer accept any one of my Ubuntu computers?
DNS at systemd's 127.0.0.53 is ignoring some lookups
The systemd's DNS lovated at 127.0.0.53 appears to be working except when I query for local machines by name. But if I query for them and specifically specify the local DNS server (my router) then I get the proper reply. But the config file says it is also using the router as the search address. Any thoughts?
I am running Ubuntu 18.04 on my Dell laptop.
Incorrect Results:
$ nslookup web1
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find web1: SERVFAIL
Also Fails
$ nslookup -i wlp3s0 web1
nslookup: couldn't get address for 'web1': not found
Correct Results:
$ nslookup web1 192.168.1.1
Server: 192.168.1.1
Address: 192.168.1.1#53
Name: web1
Address: 192.168.1.107
Configuration Info systemd-resolve
$ systemd-resolve --status
Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 3 (wlp3s0)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 192.168.1.1
DNS Domain: wp.comcast.net
Link 2 (enp2s0)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
Configuration Info NetworkManager
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
So how do I get nslookup to return the correct answer? Link 3 appears to be the correct information (my wifi connection) and my DNS on the router is returning the correct answer but the local cache never tries to look up the address (or so it seems).
Wireless disconnect after Started Network Manager Script Dispatcher Service
On my system occasionally the wireless gets disconnected after a run of Network Manager Script Dispatcher Service
. The system has PnP USB wireless adaptor (Panda Wireless PAU09 N600 Dual Band (2.4GHz and 5GHz) Wireless N USB Adapter). The lights on the USB get turned off, it cannot scan any networks. I have to plug back it in and try scanning then connect. Any idea what caused this network connection failure?
Mar 21 06:17:01 Server1 CRON[23313]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 21 06:25:01 Server1 CRON[23349]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Mar 21 06:36:28 Server1 NetworkManager[875]: <info> [1584797788.7154] manager: NetworkManager state is now CONNECTED_SITE
Mar 21 06:36:28 Server1 dbus-daemon[835]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=875 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Mar 21 06:36:28 Server1 whoopsie[1489]: [06:36:28] offline
Mar 21 06:36:28 Server1 systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 21 06:36:28 Server1 dbus-daemon[835]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mar 21 06:36:28 Server1 systemd[1]: Started Network Manager Script Dispatcher Service.
Mar 21 06:36:28 Server1 nm-dispatcher: req:1 'connectivity-change': new request (1 scripts)
Mar 21 06:36:28 Server1 nm-dispatcher: req:1 'connectivity-change': start running ordered scripts...
Mar 21 06:36:49 Server1 whoopsie[1489]: [06:36:49] Cannot reach: https://daisy.ubuntu.com
Connection Refused Problem
I have an Ubuntu 16.04 server that i was using as a vpn. I've used VPS servers a lot and never had a problem. Now all of a sudden one day I was about to get on my PS4 but i couldn't connect to my vpn.
So then I opened moba and tried to connect to see if there was an issue. Connection refused. Tried with putty. Connection refused. So then i went on my VPS page and went through kvm and connected fine. I then opened a support ticket with them. They had me install WinMTR and posted my results. They told me:
"I am not sure what the problem can be. I would first try to connect from a different machine if possible as it may be something on your computer causing the issue. Another thing you can try is to make a connection to your server from a different network, so you can see if the issue is only your home network. The MTR is showing that your traffic is not leaving your local network. The only response is from 10.0.0.1, which I assume is your default gateway (router)."
So then, I had my friend try to connect. He was able to connect NO PROBLEM. WTF. So then, I did some research. Came up with: Probably my retarded ISP or firewall problem. So, I disabled my windows firewall. Connection refused. Added and exception for ssh port. Connection refused. Reinstalled windows 10 because pissed af. connection REFUSED >:(
so then after that bunch of garbage I tried turning off windows defender and all that. Connection refused. So then I had a better troubleshooting idea. I downloaded an app on my phone to connect via ssh. I tried with my mobile data first.
SUCCESS! Connected no problem or delay. Turned my mobile data off then turned wifi on. Connection refused. MOTHERFUFLKAJK. Tried calling my ISP. They told me my IP was fine. No ports were being blocked. Went back to my VPS provider and asked if they blocked anything and they also said no. Tried port forwarding. Connection refused. Tried resetting my router.
SUCCESS! I was able to log in... for literally 1 minute. Then it disconnected. So i try reconnection... Connection refused. W T F. What else could it be? What else can I try?? I need help :(
Openconnect XML response has no “auth” node and failed to obtain WebVPN cookie on Ubuntu 18.04
After successfully installing openconnect
using apt
on Ubuntu 18.04, when I try to connect to VPN using
$ openconnect https://xxx.xx.xxx/
XML response has no "auth" node
Failed to obtain WebVPN cookie
I don't have more details of given error. Can anyone provide me with solution of given VPN error?