I have been trying to connect my dualbooted macbook pro to wifi on my home network. It registers that there are wifi networks, so I know the drivers are working, but every time I try to connect it just pops up with an WPA 2 Personal login, which I know is right, but never actually connecting.
↧
Wifi not connection, but showing network on Ubuntu 19
↧
[ubuntu_mate] Wifi slow and disconnects since fresh install of 20.04
I did a fresh install of Ubuntu Mate 20.04 daily iso, since then my wifi has been slow and disconnects, I have made all the changes in my router that AT&T allows and I still have a very slow connection at 2mbps with 18.04 it was 40mbps, I have set some driver parameters but it still has not helped, I set a fixed channel of 1 in my router but the wireless info shows I am on channel 11, about half the time when I run the wireless script I only see 2 networks and the other half I see 18 networks show up, sometimes it shows my network 4 times and others only once, in dmesg sometimes I see a lot of connects and disconnects to different instances of my network and other times I see connection to my network once, it seems something strange is going on, I am not feeling well so I am tired of trying to track this issue down and fix it myself, I appreciate any help I can get.
I am connected to a wifi extender, I have been using it for a few months with no issue, it this it in the network scan:
<MAC '\00\00\00\00\00\00\00\00\00' [AC2]> Infra 11 2462 MHz 130 Mbit/s 100 ▂▄▆█ WPA2 no
I just ran a new script and it shows two networks, the one I ran thirty minutes earlier showed 18 networks.
I also have a TP-Link AC1200 usb adapter which keeps disconnecting with the driver that comes installed and I tried different versions of the driver from github and it installs but afterwords does not work and my internal wifi stopped working as well so I hope to just fix the internal device, when I first installed and connected to the internet with 20.04 the speed was 35mbps for about five ten minutes.
https://pastebin.com/Y3jABhMm
Thanks in advance.
I am connected to a wifi extender, I have been using it for a few months with no issue, it this it in the network scan:
Quote:
<MAC '\00\00\00\00\00\00\00\00\00' [AC2]> Infra 11 2462 MHz 130 Mbit/s 100 ▂▄▆█ WPA2 no
I also have a TP-Link AC1200 usb adapter which keeps disconnecting with the driver that comes installed and I tried different versions of the driver from github and it installs but afterwords does not work and my internal wifi stopped working as well so I hope to just fix the internal device, when I first installed and connected to the internet with 20.04 the speed was 35mbps for about five ten minutes.
https://pastebin.com/Y3jABhMm
Thanks in advance.
↧
↧
Network namespace with wireless connection
hi,
i have an ethernet and wireless connection.
now i want to create a network namespace and everything within that namespace should connect to the internet through the wireless connection.
here is what i have so far:
when i want to ping e.g. 8.8.8.8 from the network namespace nothing happens.
if i replace the iptables section with the following i have an internet connection.
why does this work via the ethernet interface but not via the wireless interface?
what i'm missing, im stuck :)
br
i have an ethernet and wireless connection.
now i want to create a network namespace and everything within that namespace should connect to the internet through the wireless connection.
here is what i have so far:
Code:
ip netns add customns
ip link add vcustomns0 type veth peer name vcustomns0_peer
ip link set vcustomns0_peer netns customns
ip addr add 192.168.1.1/24 dev vcustomns0
ip link set vcustomns0 up
ip netns exec customns ip addr add 192.168.1.2/24 dev vcustomns0_peer
ip netns exec customns ip link set dev lo up
ip netns exec customns ip link set dev vcustomns0_peer up
ip netns exec customns ip route add default via 192.168.1.1
iptables -A FORWARD -o wlp0s20f3 -i vcustomns0 -j ACCEPT
iptables -A FORWARD -i wlp0s20f3 -o vcustomns0 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.1.1/24 -o wlp0s20f3 -j MASQUERADE
if i replace the iptables section with the following i have an internet connection.
Code:
iptables -A FORWARD -o eno1 -i vcustomns0 -j ACCEPT
iptables -A FORWARD -i eno1 -o vcustomns0 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.1.1/24 -o eno1 -j MASQUERADE
what i'm missing, im stuck :)
br
↧
[server] Lost communication with HOST NIC on KVM Setup 18.04.4
Hello
Recently built a VM Host utilizing Ubuntu Server 18.0.4 LTS with multiple NICs.
System was running well until recently when I started experiencing weird networking issues.
For reasons unknown I can no longer reach the host via the IP / NIC interlace that I assigned to it.
I CANNOT ping, ssh, etc the host (onboard nic 192.168.2.2) from the LAN
I CAN access the internet from the host (onboard nic 192.168.2.2) for example ping google.com, download updates etc .
I CAN access the VMs running on the host from the LAN and the INTERNET with no problems.
HOST was/is hanging on boot for 2 minutes with the message A start job is running for wait for network to be configured
I now have disabled systemd-networkd-wait-online.service
Here is a basic diagram of my network.
pfSense 2.4.4
tp-link switch TL-SG1016DE
I believe this issues started after an update but I can not be sure as the majority of the time I am accessing the GUESTS and not the HOST.
If I delete the ARP entry for 192.168.2.2 on pfSense I can then ping or ssh to 192.168.2.2 but this is only temporary and drops out again in a minute or less.
However if I quickly ssh into 192.168.2.2 and then start pinging out to say 192.168.1.1 then the connection does not drop and I am able to accesses 192.168.2.2 as normal.
I am at a loss and hope that someone will be provide assistance.
FYI I had disabled ipv6 but have since enabled.
See attached file for system output and logs. Tried to include in post but received error.
Thanks for your time.
Recently built a VM Host utilizing Ubuntu Server 18.0.4 LTS with multiple NICs.
System was running well until recently when I started experiencing weird networking issues.
For reasons unknown I can no longer reach the host via the IP / NIC interlace that I assigned to it.
I CANNOT ping, ssh, etc the host (onboard nic 192.168.2.2) from the LAN
I CAN access the internet from the host (onboard nic 192.168.2.2) for example ping google.com, download updates etc .
I CAN access the VMs running on the host from the LAN and the INTERNET with no problems.
HOST was/is hanging on boot for 2 minutes with the message A start job is running for wait for network to be configured
I now have disabled systemd-networkd-wait-online.service
Here is a basic diagram of my network.
pfSense 2.4.4
tp-link switch TL-SG1016DE
Code:
INTERNET <> pfSense <> tp-link switch
| |
| |
192.168.1.x. 192.168.2.x
/ \
/ \
IoT / PCs (1) onboard nic 192.168.2.2
(2) single port nic 192.168.2.3
(3) two port nic 192.168.2.4 <VM Guest IP > 192.168.2.10
192.168.2.5 <VM Guest IP > 192.168.2.11
I believe this issues started after an update but I can not be sure as the majority of the time I am accessing the GUESTS and not the HOST.
If I delete the ARP entry for 192.168.2.2 on pfSense I can then ping or ssh to 192.168.2.2 but this is only temporary and drops out again in a minute or less.
However if I quickly ssh into 192.168.2.2 and then start pinging out to say 192.168.1.1 then the connection does not drop and I am able to accesses 192.168.2.2 as normal.
I am at a loss and hope that someone will be provide assistance.
FYI I had disabled ipv6 but have since enabled.
See attached file for system output and logs. Tried to include in post but received error.
Thanks for your time.
↧
[ubuntu] Install bluetooth in an ASUS F5500
Hi there,
I am completelly new to Ubuntu and I was just wondering if sb could help me with this one. The issue is that Ubuntu seems not to detect the bluetooth, when I go to settings the message is "No bluetooth found".
Any help would be much appreciated.
KR
I am completelly new to Ubuntu and I was just wondering if sb could help me with this one. The issue is that Ubuntu seems not to detect the bluetooth, when I go to settings the message is "No bluetooth found".
Any help would be much appreciated.
KR
↧
↧
[all variants] access windows shared folder
Hi all,
Not sure if it's correct thread.
I'm trying to access windows shared folder. I'm under company's vpn. I got name of server with shared folder, but it's not fully-qualified.
\\some-server\somepath
I believe windows machine somehow distinguishes its IP address by non-qualified name (it's some-server in the example above). How do I perform this under ubuntu? Ping doesn't help.
Please advise.
Not sure if it's correct thread.
I'm trying to access windows shared folder. I'm under company's vpn. I got name of server with shared folder, but it's not fully-qualified.
Quote:
\\some-server\somepath
Please advise.
↧
Ubuntu 18.04 LTS - USB NIC addressing static / dhcp simultaneously
Quick Background:
- Laptop to serve as pihole server for two separate VLANS that are isolated
- Older laptop running Ubuntu 18.04
- Onboard NIC: enp5s0 - no issues
- USB NIC: enx001060315e39 - Two IP's assigned. I want a static IP or 10.0.86.32, and the DHCP address it picked up needs to go away.
When I first boot, the network config looks like this, and both the 10.0.86 IP's are pinging.
Netplan looks like this:
I noticed the verbiage at the to of the .yaml file, but not quite sure I want to do that..figured I'd ask here
If I run the command: sudo netplan apply, that clears up the dual IP problem, but 10.0.86.32 also stops working.
I've dug thru these links this morning, but can't quite figure out where I'm going wrong
https://netplan.io/troubleshooting
https://netplan.io/troubleshooting#d...tworkd-backend
Any guidance is appreciated...
- Laptop to serve as pihole server for two separate VLANS that are isolated
- Older laptop running Ubuntu 18.04
- Onboard NIC: enp5s0 - no issues
- USB NIC: enx001060315e39 - Two IP's assigned. I want a static IP or 10.0.86.32, and the DHCP address it picked up needs to go away.
When I first boot, the network config looks like this, and both the 10.0.86 IP's are pinging.
Code:
:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
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: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 88:ae:1d:13:4b:7d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.32/24 brd 192.168.1.255 scope global enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::8aae:1dff:fe13:4b7d/64 scope link
valid_lft forever preferred_lft forever
3: enx001060315e39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:10:60:31:5e:39 brd ff:ff:ff:ff:ff:ff
inet 10.0.86.32/24 brd 10.0.86.255 scope global enx001060315e39
valid_lft forever preferred_lft forever
inet 10.0.86.10/24 brd 10.0.86.255 scope global secondary enx001060315e39
valid_lft forever preferred_lft forever
inet6 fe80::210:60ff:fe31:5e39/64 scope link
valid_lft forever preferred_lft forever
4: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether c4:46:19:22:53:2f brd ff:ff:ff:ff:ff:ff
Code:
cat 50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
renderer: networkd
ethernets:
enp5s0:
addresses:
- 192.168.1.32/24
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.32, 192.168.1.31]
enx001060315e39:
addresses:
- 10.0.86.32/24
gateway4: 10.0.86.1
nameservers:
addresses: [10.0.86.32, 10.0.86.1]
# version: 2
If I run the command: sudo netplan apply, that clears up the dual IP problem, but 10.0.86.32 also stops working.
I've dug thru these links this morning, but can't quite figure out where I'm going wrong
https://netplan.io/troubleshooting
https://netplan.io/troubleshooting#d...tworkd-backend
Any guidance is appreciated...
↧
DNS not working after upgrade to 18.04
An upgrade from ubuntu 16.04 to 18.04 caused the DNS to stop working. Networking still works though. nslookup gives an error:
~# nslookup www.google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find www.google.com: SERVFAIL
Providing a DNS server address to 'dig' works though:
~# dig @8.8.8.8 www.google.com
; <<>> DiG 9.11.3-1ubuntu1.11-Ubuntu <<>> @8.8.8.8 www.google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41227
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 299 IN A 64.233.177.106
www.google.com. 299 IN A 64.233.177.104
www.google.com. 299 IN A 64.233.177.147
www.google.com. 299 IN A 64.233.177.105
www.google.com. 299 IN A 64.233.177.103
www.google.com. 299 IN A 64.233.177.99
;; Query time: 24 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Apr 07 11:44:41 CDT 2020
;; MSG SIZE rcvd: 139
Here is other information about this system:
~# ls -ld /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Jun 17 2015 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
~# 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 (eth1)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 2 (eth0)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
~# iptables -L -v -n
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
The DNS server configuration was not changed after the upgrade, and other computers on the same LAN use the same DNS servers as this computer is configured to use.
Any suggestions?
Thanks.
~# nslookup www.google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find www.google.com: SERVFAIL
Providing a DNS server address to 'dig' works though:
~# dig @8.8.8.8 www.google.com
; <<>> DiG 9.11.3-1ubuntu1.11-Ubuntu <<>> @8.8.8.8 www.google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41227
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 299 IN A 64.233.177.106
www.google.com. 299 IN A 64.233.177.104
www.google.com. 299 IN A 64.233.177.147
www.google.com. 299 IN A 64.233.177.105
www.google.com. 299 IN A 64.233.177.103
www.google.com. 299 IN A 64.233.177.99
;; Query time: 24 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Apr 07 11:44:41 CDT 2020
;; MSG SIZE rcvd: 139
Here is other information about this system:
~# ls -ld /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Jun 17 2015 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
~# 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 (eth1)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 2 (eth0)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
~# iptables -L -v -n
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
The DNS server configuration was not changed after the upgrade, and other computers on the same LAN use the same DNS servers as this computer is configured to use.
Any suggestions?
Thanks.
↧
[ubuntu] Cant install Archer T9UH USB adapter in 19.10
Can anyone help me install drivers for my USB adapter.
I can't work in terminal but have googled this and have tried a few tips with no luck.
Have certainly done more harm a right in my attempts.
I can't work in terminal but have googled this and have tried a few tips with no luck.
Have certainly done more harm a right in my attempts.
↧
↧
help understanding iptables route
I've created a IPsec/L2TP VPN and it seems to work fine. Server and Client can ping each other's IP and can both access internet.
Server is an Ubuntu 18 droplet in Digital Ocean's cloud.
Client is an arch Linux box.
I followed these guides for server and client:
https://github.com/xelerance/Openswan/wiki/L2tp-ipsec-configuration-using-openswan-and-xl2tpd
https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
However, two questions for a networking-guru please:-
1. On the server, the recommendation was to add the following rule but without it , all seems well. So what is it for - as in if everything works without it then why? In fact, I do not have any rules, either on the server nor the client !. All necessary ports are open on the cloud firewall. It works fine.
iptables -t nat -A POSTROUTING -o eth0 -m policy --dir out --pol none -j MASQUERADE
2. I have a LAN at home behind an ISP provided router. I can only connect to my cloud VPN server with one client on the LAN. An attempt to connect a second LAN client collapses the tunnel and the first client needs to reconnect. I have spent a lot of time researching this and am minded to accept that this is the reported and known limitation of IPsec and that NAT-T will not solve the problem. NAT-T is enabled on both sides as indicated in the ipsec verify outputs on left and right. I did try applying all the iptables route additions suggested in the guides but they made no difference so either it's not possible or I am doing something wrong.
I am at the limits of my knowledge and ability now so reading more hasn't helped hence hoping a rather kind chap will help out here.
Server is an Ubuntu 18 droplet in Digital Ocean's cloud.
Client is an arch Linux box.
I followed these guides for server and client:
https://github.com/xelerance/Openswan/wiki/L2tp-ipsec-configuration-using-openswan-and-xl2tpd
https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
However, two questions for a networking-guru please:-
1. On the server, the recommendation was to add the following rule but without it , all seems well. So what is it for - as in if everything works without it then why? In fact, I do not have any rules, either on the server nor the client !. All necessary ports are open on the cloud firewall. It works fine.
iptables -t nat -A POSTROUTING -o eth0 -m policy --dir out --pol none -j MASQUERADE
2. I have a LAN at home behind an ISP provided router. I can only connect to my cloud VPN server with one client on the LAN. An attempt to connect a second LAN client collapses the tunnel and the first client needs to reconnect. I have spent a lot of time researching this and am minded to accept that this is the reported and known limitation of IPsec and that NAT-T will not solve the problem. NAT-T is enabled on both sides as indicated in the ipsec verify outputs on left and right. I did try applying all the iptables route additions suggested in the guides but they made no difference so either it's not possible or I am doing something wrong.
I am at the limits of my knowledge and ability now so reading more hasn't helped hence hoping a rather kind chap will help out here.
↧
[mythbuntu] Help tweaking strongSwan VPN server
Hi,
I'm trying to set up strongSwan VPN server on my home "server". Basically, I want to be able to securely access all the bits & pieces on my home network whilst away from it.
I'm running my mythbuntu box as a quasi home server. It only has one network port which is connected to my modem router, but I have the DHCP server running in mythbuntu. It hands out addresses on my local network in the range 192.168.0.1 - 192.168.0.200. Most devices on the network have predefined addresses.
I've set up strongSwan using this guide:
https://www.digitalocean.com/communi...ubuntu-18-04-2
Setup was quite uneventful. I can successfully get clients to connect and they can access other devices on my home network.
My issues are:
1) Nothing seems to get discovered by clients. Samba, airplay, DLNA etc
2) No internet on clients
3) Not sure how my DHCP server integrates with this? It seems to be allocating the same IP to all remote clients ie 192.168.0.1. I'd like it to hand out the local IPs for the remote clients, but not sure if that needs any configuration.
Config files below.
Thanks in advance for any help.
I'm trying to set up strongSwan VPN server on my home "server". Basically, I want to be able to securely access all the bits & pieces on my home network whilst away from it.
I'm running my mythbuntu box as a quasi home server. It only has one network port which is connected to my modem router, but I have the DHCP server running in mythbuntu. It hands out addresses on my local network in the range 192.168.0.1 - 192.168.0.200. Most devices on the network have predefined addresses.
I've set up strongSwan using this guide:
https://www.digitalocean.com/communi...ubuntu-18-04-2
Setup was quite uneventful. I can successfully get clients to connect and they can access other devices on my home network.
My issues are:
1) Nothing seems to get discovered by clients. Samba, airplay, DLNA etc
2) No internet on clients
3) Not sure how my DHCP server integrates with this? It seems to be allocating the same IP to all remote clients ie 192.168.0.1. I'd like it to hand out the local IPs for the remote clients, but not sure if that needs any configuration.
Config files below.
Thanks in advance for any help.
Code:
/etc/ipsec.conf
config setup
charondebug="ike 1, knl 1, cfg 0"
uniqueids=no
conn ikev2-vpn
auto=add
compress=no
type=tunnel
keyexchange=ikev2
fragmentation=yes
forceencaps=yes
dpdaction=clear
dpddelay=300s
rekey=no
left=%any
leftid=xxx.xxx.xx.xx
leftcert=server-cert.pem
leftsendcert=always
leftsubnet=0.0.0.0/0
right=%any
rightid=%any
rightauth=eap-mschapv2
rightsourceip=192.168.0.1/200
rightdns=8.8.8.8,8.8.4.4
rightsendcert=never
eap_identity=%identity
Code:
# /etc/dhcp/dhcpd.conf created Tue 10 Mar 12:12:17 AEDT 2020 by updatedhcp script
default-lease-time 3600;
allow unknown-clients;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option netbios-name-servers 192.168.0.10;
option domain-name-servers 192.168.0.1;
option domain-name "home";
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name "home";
host modem {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.1;
}
host frontap {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.2;
}
host kitchenap {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.3;
}
host livingroom-atv {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.4;
}
.
.
.
.
range 192.168.0.1 192.168.0.200;
}
↧
[ubuntu] replacement wifi card suggestions please
Hi folks, I had mega problems with my
Ultimate N WiFi Link 5300
on ubuntu a few years back, same issues on mint, tried all the fixes but no joy.
Now I have updated my ubuntu, albeit very slowly, as the realtek routine remains very slow indeed. 1mb/s when my macbook 2014 model next to it gets 30mb/s!
Happy to replace now and wondering if anyone could recommend some options for me common enough to find one in a local computer parts store here in Melbourne?
Any ideas?
Cheers!
Ultimate N WiFi Link 5300
on ubuntu a few years back, same issues on mint, tried all the fixes but no joy.
Now I have updated my ubuntu, albeit very slowly, as the realtek routine remains very slow indeed. 1mb/s when my macbook 2014 model next to it gets 30mb/s!
Happy to replace now and wondering if anyone could recommend some options for me common enough to find one in a local computer parts store here in Melbourne?
Any ideas?
Cheers!
↧
Connecting ubuntu to windows via Bluetooth for Audio output
Ubuntu 18.04.3 I want to connect to windows 10 with Bluetooth for sending audio to a windows 10 machine. I manage to connect but i can only send audio from windows 10 to ubuntu and not the other way around. When i go to the sound settings at ubuntu i cant choose Bluetooth at output devices its only in the input devices any ideas?
↧
↧
[ubuntu] NetworkManager DHCP the IPv4LL
I need to connect to another device over USB cdc-ecm using IPv4LL (Link Local 169.254.x.x)
I expected that Ubuntu would support that out of the box, but it appears not.
I did search the forums a few different times and mostly found older posts (12.10 and before)
I also tried the same test on eth0.
When the connection is set for DHCP I do see avahi taking actions on the IPv6 addresses, but nothing for IPv4
I did see the NetworkManager offers configuration options for DHCP and "Link-Local Only" (as well as MANUAL(static) and DISABLE)
I am surprised that DHCP *then* Link-Local is not an option
Am I missing something?
The ZeroConf concept has been around for a very long time, it is surprising we don't support it in the default configuration
The "device" is something I provide support for so I am interested in the easiest way to document how to use it on Ubuntu.
At this point it seems the way to make it work is:
Is there an easier way?
Tom
I expected that Ubuntu would support that out of the box, but it appears not.
I did search the forums a few different times and mostly found older posts (12.10 and before)
I also tried the same test on eth0.
When the connection is set for DHCP I do see avahi taking actions on the IPv6 addresses, but nothing for IPv4
I did see the NetworkManager offers configuration options for DHCP and "Link-Local Only" (as well as MANUAL(static) and DISABLE)
I am surprised that DHCP *then* Link-Local is not an option
Am I missing something?
The ZeroConf concept has been around for a very long time, it is surprising we don't support it in the default configuration
The "device" is something I provide support for so I am interested in the easiest way to document how to use it on Ubuntu.
At this point it seems the way to make it work is:
- Plug in the device
- Configure the IPv4 interface to be "Link-Local Only"
- Remove and reinsert the device
Is there an easier way?
Tom
↧
[SOLVED] Sending / Receiving Files Wirelessly Between Ubuntu Computers?
I have multiple computers in my house that run various versions of Linux Mint or Ubuntu, though soon they will all be running the upcoming Ubuntu 20.04 LTS ("Focal Fossa").
At the moment, if I want to move files between computers, I either put the relevant files onto a "thumb" / flash drive (for sensitive or large files) or I e-mail them to myself (for non-sensitive or small files)... Regardless of how I currently send / receive files though, it is a lot of mucking around.
What I would like to do - preferably using something with a graphical front-end (though I am not entirely opposed to a Terminal solution, if it's not too much mucking around) - is send / receive files between each computer wirelessly, over our wireless network...
Can anyone recommend a program which will allow me to do this?
At the moment, if I want to move files between computers, I either put the relevant files onto a "thumb" / flash drive (for sensitive or large files) or I e-mail them to myself (for non-sensitive or small files)... Regardless of how I currently send / receive files though, it is a lot of mucking around.
What I would like to do - preferably using something with a graphical front-end (though I am not entirely opposed to a Terminal solution, if it's not too much mucking around) - is send / receive files between each computer wirelessly, over our wireless network...
Can anyone recommend a program which will allow me to do this?
↧
[ubuntu] NetworkManager does not work
Dear ubuntu community,
I have a problem with my ubuntu installation that prevents me from going online. I am not the proest of Linux users and after researching, trying out different thing and failing, I decided to ask you. Maybe you can help.
1. Setup: I have a MacBook Pro (2016) with dual boot. And I am using the ubuntu 20.04 Focal Fossa Beta version. Since I had the exact same problem with Mint 19.3 (except my phone hotspot worked), I dare say that I do not think the problem arises from the Beta status of the OS. I am also not able (in both) to use my touchpad, but that's for another day.
2. The problem: I can install ubuntu without any major problems, while using an external mouse. I can, however, not access the internet. When I enter my password, I will be prompted again and again to authenticate.
3. Self diagnosis: After researching and trying out, I found out, that the network manager is not working.
4. Tried solutions: I tried to activate the Network Manager, but it failed.
And I tried to reinstall it. I downloaded it, while in macOS and put it on a USB stick. Also didn't work.
Furthermore, I tried to reinstall ubuntu, but during the installation I already had the error.
5. Despair: I don't know, where to go from here. Can you help? I'd really appreciate it since I want to try to use Linux in my every-day life, due to it's awesomeness.
Thank you, best and stay healthy
fil
I have a problem with my ubuntu installation that prevents me from going online. I am not the proest of Linux users and after researching, trying out different thing and failing, I decided to ask you. Maybe you can help.
1. Setup: I have a MacBook Pro (2016) with dual boot. And I am using the ubuntu 20.04 Focal Fossa Beta version. Since I had the exact same problem with Mint 19.3 (except my phone hotspot worked), I dare say that I do not think the problem arises from the Beta status of the OS. I am also not able (in both) to use my touchpad, but that's for another day.
2. The problem: I can install ubuntu without any major problems, while using an external mouse. I can, however, not access the internet. When I enter my password, I will be prompted again and again to authenticate.
3. Self diagnosis: After researching and trying out, I found out, that the network manager is not working.
Code:
fub@fub:~/Desktop$ systemctl status NetworkManager.service
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-04-09 06:14:40 EDT; 36s ago
Docs: man:NetworkManager(8)
Process: 6468 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=1/FAILURE)
Main PID: 6468 (code=exited, status=1/FAILURE)
Apr 09 06:14:40 fub systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is >
Apr 09 06:14:40 fub systemd[1]: Stopped Network Manager.
Apr 09 06:14:40 fub systemd[1]: NetworkManager.service: Start request repeated too quickly.
Apr 09 06:14:40 fub systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Apr 09 06:14:40 fub systemd[1]: Failed to start Network Manager.
Code:
fub@fub:~/Desktop$ sudo service network-manager start
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.
Code:
fub@fub:~/Desktop$ sudo dpkg -i das_hier_network-manager_1.22.10-1ubuntu1_amd64.deb
(Reading database ... 149231 files and directories currently installed.)
Preparing to unpack das_hier_network-manager_1.22.10-1ubuntu1_amd64.deb ...
Unpacking network-manager (1.22.10-1ubuntu1) over (1.22.10-1ubuntu1) ...
Setting up network-manager (1.22.10-1ubuntu1) ...
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.
Processing triggers for systemd (245.2-1ubuntu2) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
5. Despair: I don't know, where to go from here. Can you help? I'd really appreciate it since I want to try to use Linux in my every-day life, due to it's awesomeness.
Thank you, best and stay healthy
fil
↧
[UbuntuGnome] HP Pavilion 15 notebook pc
Hi all, I'm new to linux and ubuntu 18.04. I've read multiple articles on getting my wired connection to work and have run several in the terminal but not having much luck. My wireless works fine but
can't seem to get the wired connection button turned on. The cable is fine and it works with my other laptop running windows 10 and also my desktop with windows 10. It seems as though the
realtek cards have problems but would like to strictly use a wired connection. I'll try and put in the scripts of my machine to give an idea on what I have. I'm not used to using a terminal but at 68 yrs old I can still try and learn something new. Thanks in advance for all your help.):P
can't seem to get the wired connection button turned on. The cable is fine and it works with my other laptop running windows 10 and also my desktop with windows 10. It seems as though the
realtek cards have problems but would like to strictly use a wired connection. I'll try and put in the scripts of my machine to give an idea on what I have. I'm not used to using a terminal but at 68 yrs old I can still try and learn something new. Thanks in advance for all your help.):P
↧
↧
[ubuntu] 20.04 beta - wifi problem
yesterday, I tried to install the 20.04 beta version on my HP15-af119nf laptop
I had 2 issues :
- If I add a second wifi card and the network manager was not able to disable one card and to activate the right card for the right wifi network.
- after the installation of the first updates proposed, the wifi card of the laptop did not work any more.
Regards.
David
I had 2 issues :
- If I add a second wifi card and the network manager was not able to disable one card and to activate the right card for the right wifi network.
- after the installation of the first updates proposed, the wifi card of the laptop did not work any more.
Regards.
David
↧
[ubuntu] Canon 3010 app is not working
I have a Canon 3010 printer connected to Ubuntu 18.4 LTS .The app does not work properly. Scan does not happen.Kindly provide solution.
↧
Openvpn client config file: route locally without external DNS
Hi, question on making my desktop client box on my OpenVPN subnet use only local DNS in my house router, with no DNS routing to external DNS provider that I have pre-configured in my VPN client profiles.
My VPN server sits locally on 192.168.1.3.
Line four of my client config files is:
CUSTOM_DNS_ADDRESS@youdontcare.com CUSTOM PORT NUMBER
...so this is the DNS routing line in all my client config files. I have one machine in my home that I need on the VPN subnet at all times. For now it auto-starts at boot the VPN and gets on the network. But it is routing to the external DNS. When I have gone into to edit my VPN client config for this desk bog to '192.168.1.3' 'CUSTOM PORT NUMBER" then this desktop box has no connectivity at all...so there's something else going on here I am missing on.
Wanted to ask about this here because the Openvpn.net forums haven't given much in the way of suggestions so far.
Any tips guys and girls?
My VPN server sits locally on 192.168.1.3.
Line four of my client config files is:
CUSTOM_DNS_ADDRESS@youdontcare.com CUSTOM PORT NUMBER
...so this is the DNS routing line in all my client config files. I have one machine in my home that I need on the VPN subnet at all times. For now it auto-starts at boot the VPN and gets on the network. But it is routing to the external DNS. When I have gone into to edit my VPN client config for this desk bog to '192.168.1.3' 'CUSTOM PORT NUMBER" then this desktop box has no connectivity at all...so there's something else going on here I am missing on.
Wanted to ask about this here because the Openvpn.net forums haven't given much in the way of suggestions so far.
Any tips guys and girls?
↧