Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all 23300 articles
Browse latest View live

Pptp stopped working after upgrade to 17.10

$
0
0
Hello
After I made an upgrade from Ubuntu mate 16.10 to 17.10 my vpn connection stopped working.
My current configuration is:
cat /etc/ppp/options.pptp
Code:

###############################################################################
# $Id: options.pptp,v 1.4 2012/08/30 21:34:13 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection.  See "man pppd".
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################


# Lock the port
lock


# Authentication
# We don't need the tunnel server to authenticate itself
noauth


# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
refuse-pap
refuse-eap
refuse-chap
refuse-mschap


# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate


# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose which of the following sections you will use.  Note that MPPE
# requires the use of MSCHAP-V2 during authentication)
#
# Note that using PPTP with MPPE and MSCHAP-V2 should be considered
# insecure:
# http://marc.info/?l=pptpclient-devel&m=134372640219039&w=2
# https://github.com/moxie0/chapcrack/blob/master/README.md
# http://technet.microsoft.com/en-us/security/advisory/2743314


# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# If the kernel is booted in FIPS mode (fips=1), the ppp_mppe.ko module
# is not allowed and PPTP-MPPE is not available.
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}


# http://mppe-mppc.alphacron.de/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}

cat /etc/ppp/peers/tunnel_file

Code:

pty "pptp prodanov.biz --nolaunchpppd"
    name domain.biz\\user
    remotename PPTP
    require-mppe-128
    file /etc/ppp/options.pptp
    maxfail 0
    persist
    mtu 1392 
    ipparam tunnel_file

cat /etc/ppp/ip-up.d/tunnel_file
Code:

!/bin/sh


    route add -net 192.168.88.0 netmask 255.255.255.0 dev ppp0


Here are the logs:
tail -f /var/log/syslog | grep pppd

Code:

Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pppd[2316]: pppd 2.4.7 started by root, uid 0
Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pppd[2316]: Using interface ppp0
Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pppd[2316]: Connect: ppp0 <--> /dev/pts/5
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pppd[2316]: LCP: timeout sending Config-Requests
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pppd[2316]: Connection terminated.
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pppd[2316]: Modem hangup
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2320]: anon warn[decaps_hdlc:pptp_gre.c:238]: pppd may have shutdown, see pppd log
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pppd[2316]: Using interface ppp0
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pppd[2316]: Connect: ppp0 <--> /dev/pts/6


tail -f /var/log/syslog | grep pptp

Code:

Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pptp[2320]: anon log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Jan  2 21:55:42 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Jan  2 21:55:43 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan  2 21:55:43 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Jan  2 21:55:43 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 48985, peer's call ID 1244).
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2320]: anon warn[decaps_hdlc:pptp_gre.c:226]: short read (-1): Input/output error
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2320]: anon warn[decaps_hdlc:pptp_gre.c:238]: pppd may have shutdown, see pppd log
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 12 'Call-Clear-Request'
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2343]: anon log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Jan  2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Jan  2 21:56:14 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan  2 21:56:14 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Jan  2 21:56:14 rpr-HP-ProBook-430-G4 pptp[2356]: anon log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 18349, peer's call ID 1245).

tail -f /var/log/ppp-connect-errors
Code:

anon fatal[open_callmgr:pptp.c:525]: Call manager exited with error 256
anon warn[open_unixsock:pptp_callmgr.c:383]: bind: Address already in use
anon fatal[callmgr_main:pptp_callmgr.c:136]: Could not open unix socket for 84.22.27.96
anon fatal[open_callmgr:pptp.c:525]: Call manager exited with error 256
anon warn[open_unixsock:pptp_callmgr.c:383]: bind: Address already in use
anon fatal[callmgr_main:pptp_callmgr.c:136]: Could not open unix socket for 84.22.27.96
anon fatal[open_callmgr:pptp.c:525]: Call manager exited with error 256
anon warn[open_unixsock:pptp_callmgr.c:383]: bind: Address already in use
anon fatal[callmgr_main:pptp_callmgr.c:136]: Could not open unix socket for 84.22.27.96
anon fatal[open_callmgr:pptp.c:525]: Call manager exited with error 256

The same log when connection was working:
tail -f /var/log/ppp-connect-errors
Code:

anon warn[open_unixsock:pptp_callmgr.c:374]: Call manager for 84.22.27.96 is already running.
anon fatal[callmgr_main:pptp_callmgr.c:136]: Could not open unix socket for 84.22.27.96
anon fatal[open_callmgr:pptp.c:526]: Call manager exited with error 256
anon warn[open_unixsock:pptp_callmgr.c:374]: Call manager for 84.22.27.96 is already running.
anon fatal[callmgr_main:pptp_callmgr.c:136]: Could not open unix socket for 84.22.27.96
anon fatal[open_callmgr:pptp.c:526]: Call manager exited with error 256

I think this line is the error but i don't know it means:
Jan 2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2320]: anon warn[decaps_hdlc:pptp_gre.c:226]: short read (-1): Input/output error
Jan 2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2320]: anon warn[decaps_hdlc:pptp_gre.c:238]: pppd may have shutdown, see pppd log
Jan 2 21:56:13 rpr-HP-ProBook-430-G4 pptp[2334]: anon log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)


Any help will be appreciated.
Thank you

Internet connected but not access after trying to set up a vpn

$
0
0
Hi, my internet was working fine in Ubuntu 17.10 until I tried to set up a private VPN. It didn't work in settings so after reading some forums one suggested to install the next packages:

apt install vpnc network-manager-vpnc network-manager-vpnc-gnome

After that mi internet has a question mark and I can't browse, I removed all those packages and rebooted my PC but it didn't work.

This is the information I have of nmcli device

virbr0 bridge connected virbr0
wlp2s0 wifi connected fmlia_rodriguez
enp1s0 ethernet unavailable --
lo loopback unmanaged --
virbr0-nic tun unmanaged --

I tried with wireless and wired connection, but both show the question mark

MT7610U 0e8d:7610 MediaTek USB Wireless adapter not working in Ubuntu 17.10

$
0
0
I am trying to get my MediaTek USB Wireless adapter to work in Ubuntu "Artful" 17.10.

lsusb output: Bus 002 Device 019: ID 0e8d:7610 MediaTek Inc.
ID: 0e8d:7610
Chipset: MT7610U

I tried the following guides/howtos, to no avail:



If I add
Code:

blacklist rt2800usb
blacklist rt2x00lib
blacklist rt2x00usb

to /etc/modprobe.d/blacklist.conf, my internal default wifi card is de-activated, but I am left with no working wireless.

Can anyone please help? Thank you!

[ubuntu] Wi-Fi doesn't work on Ubuntu 16.04

$
0
0
Hey guys, having some troubles here. I just installed Ubuntu alongside my Windows 10, but it doesn't find any Wi-fi networks. I have been to Settings and Additional pilots but nothing shows up and there's an issue window. I'm kinda new to Ubuntu so I don't want to risk doing stuff on my own.
Can you please help me ?

Thank you a lot.

[ubuntu] Are there any Miracast uodates?

$
0
0
Hi there!

I am trying to connect my Toshiba laptop to my TV, to make it easier to watch movies on the large screen.

Are there any updates on Miracast compatible technologies able to do that?

I am not willing to buy any dongles as both Intel HD Graphics and Samsung smart Tv can do that natively; on Windows 10 it works without problems.

I use Ubuntu 17.10 by default, but still have 17.04 for a while.

Thank you.

[ubuntu] No internet - Ethernet adapter *Unclaimed* 16.04 LTS

$
0
0
Hello everyone, it's first time I don't find a fix by searching the internet although I saw many similar issues. Hopefully some of you can help me out here since I'm relatively new to linux.

Long story short, the laptop I used to run Ubuntu 16.04 LTS fell on the ground while plugged and the motherboard shorted out. Luckily I extracted the HDD and it's content from the case and re-used it. It's now plugged into my tower via SATA. I installed a fresh Ubuntu 16.04 LTS on it from a flash drive and formatted the hard drive to ext4 as recommended.

Upon booting up, first thing I notice is the resolution way lower than what it should be, all pixelated and zoomed in. Second thing the loading screen is entirely black except for the orange/white dots that appear when loading. After a rather slow boot time considering my computer specs I get into the desktop environment to notice the resolution and slow speed problem persist.

My biggest concern is that my ethernet cable is plugged in directly into the motherboard at the rear I/O panel and I can't access the internet. I tried a couple commands I saw from people with similar problems and it told me my adapter is "unclaimed". I'm pretty sure the graphical problems and other minor problems are related to drivers and updates, which I could easily find a fix for once I get an internet connection going. Feel free to give me any terminal command that cross your mind that could teach you more about my system so I can update my post with them. The more the better, it'll avoid me booting up a dozen times. I also tried turning off/on the network by right clicking the little wi-fi icon top right of the screen, didn't work this time.

My hardware : intel core i7 - 7700k
mobo : MSI z270 Gaming M3
gpu : MSI GTX 1080
ram : 2x8Gb DDR4
storage : refurbished 650Gb HDD

Thank you for your time.

msi@msi-MS-7A62:~$ sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:05:00.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list
configuration: latency=0
resources: memory:df100000-df13ffff ioport:d000(size=128)


msi@msi-MS-7A62:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 05)
00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Device a2af
00:14.2 Signal processing controller: Intel Corporation Device a2b1
00:16.0 Communication controller: Intel Corporation Device a2ba
00:17.0 SATA controller: Intel Corporation Device a282
00:1b.0 PCI bridge: Intel Corporation Device a2e7 (rev f0)
00:1b.2 PCI bridge: Intel Corporation Device a2e9 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device a290 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Device a297 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2c5
00:1f.2 Memory controller: Intel Corporation Device a2a1
00:1f.3 Audio device: Intel Corporation Device a2f0
00:1f.4 SMBus: Intel Corporation Device a2a3
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
03:00.0 USB controller: ASMedia Technology Inc. Device 2142
05:00.0 Ethernet controller: Qualcomm Atheros Device e0b1 (rev 10)

msi@msi-MS-7A62:~$ arch
x86_64

msi@msi-MS-7A62:~$ uname -r
4.4.0-31-generic

msi@msi-MS-7A62:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:964 errors:0 dropped:0 overruns:0 frame:0
TX packets:964 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:71280 (71.2 KB) TX bytes:71280 (71.2 KB)


msi@msi-MS-7A62:~$ lspci -nnk | grep -iA3 net
05:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [1969:e0b1] (rev 10)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7a62]

[server] Random Lan Behaviour

$
0
0
i am having a ubuntu 12.04 machine with two lan cards one configured for lan1 and another configured for lan2 after some time randomly lan2 stops responding and after enabling disabling the Lan2 it starts working again Kindly help as it is hampering my production

Help with a network startup script.

$
0
0
I have a laptop located 3 hours away in another state. I am the only one that uses it. What I would like is a way so that after a reboot or powering up, it....


  1. Bring the network up with the last configuration
  2. Ping 8.8.8.8. If successful, then do nothing. Else, continue.
  3. Set interface ETH0 to IP 192.168.0.1 and configure DNS for private DNS servers.
  4. Ping 8.8.8.8. If successful, then do nothing. Else, continue.
  5. Set interface ETH0 to IP 1.1.1.1 (a public IP) and configure DNS for public DNS servers.
  6. Ping 8.8.8.8. If successful, then do nothing. Else, continue.
  7. Set interface ETH0 to DHCP and get DNS servers from DHCP.
  8. Ping 8.8.8.8. If successful, then do nothing. Else, continue.
  9. Resort to the last configuration.


As of now, the system is using network-manager. I'm assuming that I would have to stop it so I can use ifup/ifdown. What is the best way to do this?

OpenVPN client and server in VirtualBox

$
0
0
Hello.

I do not know if this this forum is right place for such problems, but I will describe it.

I have got 2 virtual machines installed(in Virtual Box, which is working on physical computer with Windows 8).

Both virtual machines are with Ubuntu 16.04 installed on it.

My task is to install OpenVPN server on one virtual machine and OpenVPN client on the second virtual machine, which I have already done, and to make them communicate(pinging) each other(which I have not done, for I do not realize why the communication does not work).

So now I have got these 2 virtual machines, but none of them is able to communicate with each other. Both VM are connected to my home network, but on client VM, when I type the VPN-server's IP, client cannot reach it.

Can someone tell me where is the problem, what am I doing bad and what to do to make it work?

Here I give configuration file listings for server and client.


Server:

Code:

port 1194
proto udp
dev tun0

ifconfig 172.16.1.1 172.16.1.20

ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem

server 10.8.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt


push "redirect-gateway"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
verb 3

and for client(on second VM):

Code:


##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server.    #
#                                            #
# This configuration can be used by multiple #
# clients, however each client should have  #
# its own cert and key files.                #
#                                            #
# On Windows, you might want to rename this  #
# file so it has a .ovpn extension          #
##############################################

# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client

# Use the same setting as you are using on
# the server.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one.  On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap

# Are we connecting to a TCP or
# UDP server?  Use the same setting as
# on the server.
;proto tcp
proto udp

# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote 10.8.0.0 1194


# Choose a random host from the remote
# list for load-balancing.  Otherwise
# try hosts in the order specified.
;remote-random

# Keep trying indefinitely to resolve the
# host name of the OpenVPN server.  Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite

# Most clients don't need to bind to
# a specific local port number.
nobind

# Downgrade privileges after initialization (non-Windows only)
user nobody
group nogroup

# Try to preserve some state across restarts.
persist-key
persist-tun

# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here.  See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]

# Wireless networks often produce a lot
# of duplicate packets.  Set this flag
# to silence duplicate packet warnings.
;mute-replay-warnings

# SSL/TLS parms.
# See the server config file for more
# description.  It's best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
#ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/client1.crt
key /etc/openvpn/easy-rsa/keys//client1.key
# Verify server certificate by checking that the
# certicate has the correct key usage set.
# This is an important precaution to protect against
# a potential attack discussed here:
http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the keyUsage set to
#  digitalSignature, keyEncipherment
# and the extendedKeyUsage to
#  serverAuth
# EasyRSA can do this for you.
remote-cert-tls server

# If a tls-auth key is used on the server
# then every client must also have the key.
;tls-auth ta.key 1

# Select a cryptographic cipher.
# If the cipher option is used on the server
# then you must also specify it here.
;cipher x

# Enable compression on the VPN link.
# Don't enable this unless it is also
# enabled in the server config file.
comp-lzo

# Set log file verbosity.
verb 3

# Silence repeating messages
;mute 20

I tried to ping from client to server and from server to client with addresses:
172.16.1.1
172.16.1.20
10.8.0.0
10.8.0.1

but only 10.8.0.1 works, and only on VM which works as a server.

As for "Networking" of my virtual machines(such panel in Virtual Box): both of them are working in NAT, i also tried "bridged" but no success in pinging.

Can someone help me with this? Thank You in advance for your help.

Some websites unreachable after a while but internet and DNS work on others

$
0
0
Im having trouble reaching some websites after my computer has been on for a while. Suddenly some websites are completely unreachable. First I thought a DNS problem but I can use Google and visit some websites that I never visited before. Other websites that I have visited before do not work. I tried a Traceroute to a opendns server ip but it just says network unreachable. However I can still watch videos on YouTube. Maybe it's a ipv4 ipv6 issue? Can someone help me in the right direction. PS , after a restart my computer works fine again.

[ubuntu] Wireless connectivity issues in 17.04 on Surface Book

$
0
0
Hello, I'm running into an issue where I apparently stay connected to a WiFi network but lose all ability to send or receive data after only a few minutes each time I reboot Ubuntu 17.04. I can't directly copy and paste the info, but after running dmesg I found a kernel bug:

kernel BUG at /build/linux-Fk60NP/linux-4.10.0/net/core/skbuff.c:105!

The trace includes many references to mwifiex, and I understand that there is a known issue with the Surface Book and mwifiex but I can't seem to find a solution in the forum here.

Can someone please assist (keeping in mind that I'll have to apply any fixes offline)?

Thank you!

modprobe: FATAL: Module wl not found (Intel 3160 wireless)

$
0
0
My Wireless network suddenly stopped working. I'm using Kubuntu 17.04 (on a dual-boot windows 10 machine - wireless works fine on Windows, so not a hardware issue).

sudo modprobe wl gives the following error.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.10.0-42-generic

I've seen previous threads describing this error with a Broadcom wireless card ([here](https://ubuntuforums.org/showthread.php?t=370108) and [here](https://ubuntuforums.org/showthread.php?t=2348654)), but the solutions there do not work for me, because I have an Intel 3160 wireless

Pastebin link for network script is https://paste.ubuntu.com/26322902/

Very grateful for any help

How to install Elekele WiFi Adapter 1200Mbps Wireless USB

$
0
0
I purchased this adapter recently that was suppossed to work with linux. I am a completely Linux newbie and had spent several hours trying to make it work.

The USB device is identified as 0bda:b812 and I found that this device should be Realtek RTL8822BU Wireless 802.11ac USB NIC.

CD with drivers is worthless as I got errors when trying to execute
Code:

make
. Here is the output:

Code:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.14.0-041400-generic/build M=/home/swordf1zh/Desktop/wifi-adapter-support-files/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333  modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.0-041400-generic'
  CC [M]  /home/swordf1zh/Desktop/wifi-adapter-support-files/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/core/rtw_cmd.o
scripts/Makefile.build:314: recipe for target '/home/swordf1zh/Desktop/wifi-adapter-support-files/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/core/rtw_cmd.o' failed
Makefile:1509: recipe for target '_module_/home/swordf1zh/Desktop/wifi-adapter-support-files/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333' failed
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-041400-generic'
Makefile:1874: recipe for target 'modules' failed

I contacted the seller and he sent me this information, but I think is the same as on the CD:
Quote:

Message from 3rd party seller:
https://share.weiyun.com/9996a987b22...f567536d20b729
please click the link, install the driver again, if there is still issue, please feel free to contact us.
I already followed all the steps from this thread and succesfully executed
Code:

make
and
Code:

sudo make install
, but the USB adapter is still not working.

Here is the wireless-info script result: http://paste.ubuntu.com/26323538/

Thanks for your help.

Split internet from multiple ISPs

$
0
0
Our setting is as follows:
Code:

                                                                     
                                        +---------+    +------------+        /
                                        |        |    |  Modem    |      /
                    +-----------+------| Firewall|----+ Provider 1 +-------
            __      |          |      |        |    |            |    /
        ___/  \_    |    +------+----+ +---------+    +------------+  |
      _/        \__  |    |    p4p1  |                              /
    /            \ |    |          |                              |
    | Local network -+    |Ubuntu srv |                              |Internet
    \_          __/    |          |                              |
      \__    __/        |    em1  |                              \
          \___/          +------+----+    +------------+            |
                                |          |  Router    |              \
                                +----------+ Provider 2 +----------------
                                            |            |                |
                                            +------------+

We would like the Ubuntu server to be able to use the `em1` interface, specially for ftp traffic.

That makes it harder, I believe, since FTP creates connections on Passive Mode that should be correctly routed through the `em1`. Am I mistaken to raise a red flag here?

We don't need nor want load balancing, and the LAN won't access the Internet through `em1`, so that should make things easier since the Ubuntu server doesn't have to reroute anything coming from `em1`.

We have a static public address given to the firewall, but the router of Provider 2 will have a dynamic address that we will have to DynDNS or something.

I've found this [HOWTO](http://lartc.org/howto/lartc.rpdb.multiple-links.html) and [this stackoverflow question](https://serverfault.com/questions/39...-ubuntu-server) but I'm confused on that script values.

What are the IP1 and IP2 values really? Which will be the default route for packets originating from the ubuntu server? Where is that default route set and to which value? Is the P0_NET unnecessary in my case?

How would I modify that script to fit my case scenario? I believe it should _at least_ be

Code:

    #!/bin/bash -v
    #IPs of device connected to the internet
    IP1=192.168.30.240 (or is it the public ip 85.12.34.56?)
    #static IP provided by ISP2
    IP2=192.168.0.10 (or is it the dynamic ip 190.12.34.56?)
   
    #Your Gateways (type route in terminal it should be in the same line as default)
    P1=192.168.30.1 #gateway provided by ISP1
    P2=192.168.0.254 #gateway provided by ISP2
   
    #Your Subnets
    P1_NET=192.168.0.0/24 #local network subnet + p4p1
    P2_NET=192.168.10.0/24 #em1 LAN
    # NICs your internet interfaces
    IF1=p4p1
    IF2=em1
   
    ip route add $P1_NET dev $IF1 src $IP1 table T1
    ip route add default via $P1 table T1
    ip route add $P2_NET dev $IF2 src $IP2 table T2
    ip route add default via $P2 table T2
    ip route add $P1_NET dev $IF1 src $IP1
    ip route add $P2_NET dev $IF2 src $IP2
   
    ip rule add from $IP1 table T1
    ip rule add from $IP2 table T2
    ip route add $P2_NET dev $IF2 table T1
    ip route add 127.0.0.0/8 dev lo table T1
    ip route add $P1_NET dev $IF1 table T2
    ip route add 127.0.0.0/8 dev lo table T2

[SOLVED] Panda Wireless PAU09 - Problem Establishing Connection to Wireless Networks

$
0
0
*Posting my question and my resolve to potentially help others in the future*

I just got a PAU09 (Panda Wireless) 802.11 adapter with an Ralink Technology, Corp. RT5572 Chipset in Bus 001 Device 002: ID 148f:5572. I'm having trouble getting the wireless to establish a connection with the PnP that they claim.


Some Info:
There is no built in wireless nic for my Mobo so there shouldn't be interference there. The adapter is recognizing SSIDs after being plugged in, which without it, it doesn't. I tried to connect to my home 2.4 network and it won't connect. I've tried to establish the connection with, and without some eth plugged into my desktop.

I think I need a driver update but I do not know how to do so.


Quote:

lsmod | grep rt

rt2800usb 28672 0
rt2x00usb 20480 1 rt2800usb
rt2800lib 94208 1 rt2800usb
rt2x00lib 53248 3 rt2800lib,rt2800usb,rt2x00usb
mac80211 782336 3 rt2800lib,rt2x00lib,rt2x00usb
cfg80211 602112 2 rt2x00lib,mac80211
hci_uart 98304 0
btbcm 16384 1 hci_uart
btqca 16384 1 hci_uart
btintel 16384 1 hci_uart
bluetooth 557056 11 hci_uart,btintel,btqca,bnep,btbcm
ip6t_rt 16384 3
scsi_transport_iscsi 98304 4 ib_iser,libiscsi,iscsi_tcp
xt_addrtype 16384 4
parport_pc 32768 1
parport 49152 3 lp,parport_pc,ppdev
x_tables 36864 17 xt_LOG,ipt_REJECT,iptable_mangle,ip_tables,ebtable s,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_limit ,ip6t_REJECT,xt_CHECKSUM,ip6table_filter,xt_addrty pe,ip6t_rt,xt_conntrack,ip6_tables,xt_hl

[xubuntu] How to install Wifi USB Drivers (TP-Link 722N) in Xubuntu 8.04

$
0
0
Hi everybody,
Currently, I am using Xubuntu 8.04 for my old PC. I bought a wifi USB (TP-Link 722N Model) but I didn't know how to install this driver in my PC,
Then I went to TP-Link website and downloaded this driver for Linux OS,

I saw this guide:





And this is information from my PC after typing "cat /proc/version":



And I didn't know how to fill those informations for next steps,

Please help me to install (compile) this driver,

Thank you so much.

No access to the internet - Ubuntu 16.04

$
0
0
I have been trying to figure out what has gone wrong with my internet/network connection for many days now, but it stays a mystery. I am not a Ubuntu guru, more likely an advanced novice, so I hope I will be able to describe the problem.
When I start up my computer, Ubuntu (version 16.04 LTS) seems to load normally. The desktop appears and in the right upper corner is a status bar (??) showing the ‘up and down arrows’ icon, indicating that I am connected to the internet – as it has always done. Up to a few days ago that is.
I started Firefox and was presented with : “Hmm. We’re having trouble finding that site. We can’t connect to the server at www.ixquick.com. If that address is correct, here are three other things you can try : Try again later - Check your network connection …….”
I wanted to read my mail first and started Thunderbird only to get “Thunderbird failed to connect to the server ….”
Back to Firefox and tried several of my bookmarks. Same result.
Tried also the browser that comes with Ubuntu. Same result.
As the addresses are all correct and I’m not behind a firewall (I guess), it had to be a network connection thing. Without going into details yet (I can provide them when necessary), I did the following :
- Checked the connection information and all seems well. It is called “Wired connection 1”
- Disconnected and reconnected. No problem. Still the same errors.
- Edited the connection, but again all seems normal.
- Tried to add a new connection and set things manually. Connection was achieved, but still no traffic.
I did shut down and restart the computer several times over the last days. No result.

And then I had a final idea. I booted my computer using the install CD and choose Try Ubuntu. It loaded perfectly. It also established connection with the internet, again called ‘Wired connection 1’.
And Lo and Behold, Firefox and Thunderbird just work fine. Otherwise I wouldn’t be able to contact this forum, would I?
The connection’s settings are – or at least seem to be – exactly the same and it cannot possibly be a hardware problem – QED
So I think that the last time when the connection has worked and then when I shut down my computer, the Shut Down app (??) must have saved some instruction or error, preventing programs – apps to use the internet connection. Could this be a bug?
But I sure would like to get things back to normal.

[edubuntu] Wifi automatically disconnects in edubuntu 14.04.5

$
0
0
Wifi signal is very low in ubuntu and if i connect it will automatically disconnects after a few minutes please help me to solve this problem.

[ubuntu] SSH on Odroid XU4

$
0
0
Hello all,

I am using ubuntu on my Odroid XU4 board and it works great.
I have a issue with SSH from out side my network.
It works fine from inside, I set up port forwarding on my router but I still can’t connect.
Are any settings in ubuntu that might stop it?

[ubuntu] How to connect via SSH if SSH is behind VPN

$
0
0
Hello

I have a ubuntu computer which is connected via vpn.
how can I connect to it via ssh?
Viewing all 23300 articles
Browse latest View live