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

Building a kind of Firewall - Socket programming etc

$
0
0
Hi,

There is a computer with 2 NICs, the task is taking internet to one of these nics port and giving it to other computers by the other nics port. Since this is a school assignment, it's not allowed to use modules like ipfilter etc.

I just don't know the path that I should follow. What to do first? I am new to this networking stuff but this assignment is a must.

As I understand, I should program the sockets, receive/send etc. Correct?
Any ideas?

Thank you a lot.

[SOLVED] Samba not working at all

$
0
0
Title is semi misleading I guess, I can see my server net bios name in windows 10 file explorer. I can not however see the shares or anything. I tried connecting via the IP with no luck. I added smb users with no luck. I am running a custom file manager (node app but it is off while I get samba working). I am also running nginx and I had samba working till Nginx came along. I removed all of Nginx and no solution so back to just samba running.

I followed this guide on these forums. Config file is the exact same other than
Code:

netbios name = JKSERV
and
Code:

workgroup = WORKGROUP
as well as the
Code:

path =
under the
Code:

[MyFiles]
is set to
Code:

/mnt/md0
Any ideas on what I can try? I am 3 days into this simple yet hard task of debugging it and my head is just spinning at this point.

[ubuntu] Wifi problems upon installation (Dell Latitude)

$
0
0
So I installed Ubuntu 16.04.3 and immediately my wifi wasn't registered. Not only could my laptop not find wifi networks, but wifi wasn't even picked up on my network settings, so my only option even available is Ethernet :mad:. I am using a Dell latitude D620 and this seems to be a problem that seems to happen with older dell laptops, but I don't know what to do. I have installed Ubuntu on other computers before but this is the first time something like this has happened.

Wifi doesn't work if I don't boot Kubuntu after Windows / "nobody cared"

$
0
0
Hello,

My system is Kubuntu 17.04.

For some time, the wifi worked well. But for a few days, I've been having this problem I already encountered with Linux Mint: the wifi works if I boot Kubuntu after shutting down Windows, but it doesn't work at all if I boot Kubuntu after shutting it down.

At boot, when the wifi is not going not work, Kubuntu tells me:

Code:

[    16.680902] irq 17: nobody cared
 (try booting with the "irqpoll" option)
 [    16.680985] handlers:
 [    16.681004] [<ffffffffc07b5380>] azx_interrupt [snd_hda_codec]
 [    16.681018] Disabling IRQ #17

I didn't try booting with irqpoll, because apparently it requires modifying grub, and I don't want to mess with it because I'm a noob.

I have a "802.11n Wireless LAN Card" by Ralink Technology.

I tried running a series of commands, to not avail.


lspci


Code:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation H57 Chipset LPC Interface Controller (rev 06)
00:1f.2 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 405] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (r
ev 03)
03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller (rev 01)
04:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)

iwconfig

When the wifi works

Code:

lo        no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:"Bbox-7FD95BF4" 
        Mode:Managed  Frequency:2.437 GHz  Access Point: 00:78:9E:7B:9B:90   
        Bit Rate=57.8 Mb/s  Tx-Power=20 dBm   
        Retry short limit:7  RTS thr:off  Fragment thr:off
        Power Management:on
        Link Quality=53/70  Signal level=-57 dBm 
        Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
        Tx excessive retries:1  Invalid misc:0  Missed beacon:0

enp2s0    no wireless extensions.

When it doesn't

Code:

lo        no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:off/any 
        Mode:Managed  Access Point: Not-Associated  Tx-Power=0 dBm   
        Retry short limit:7  RTS thr:off  Fragment thr:off
        Power Management:off
         
enp2s0    no wireless extensions.

inxi -Fxz

When wifi doesn't work:

Code:

System:  Host: Melchizedek Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 6.3.0)
Desktop: KDE Plasma 5.9.5 (Qt 5.7.1) Distro: Ubuntu 17.04
Machine:  Device: desktop System: Hewlett-Packard product: p6710fr v: xxx0204GRxxxxxxxx0
Mobo: MSI model: 2A9C v: 1.1 BIOS: American Megatrends v: 6.14 date: 11/05/2010
CPU:      Dual core Intel Core i3 550 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12769
clock speeds:max: 3200 MHz 1: 1200 MHz 2: 1200 MHz 3: 1600 MHz 4: 2400 MHz
Graphics: Card: NVIDIA GT218 [GeForce 405] bus-ID: 01:00.0
Display Server: X.Org 1.19.3 drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce 405/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 340.102 Direct Rendering: Yes
Audio:    Card-1 Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 NVIDIA High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
Sound: Advanced Linux Sound Architecture v: k4.10.0-42-generic
Network:  Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d800 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Card-2: Ralink RT3090 Wireless 802.11n 1T/1R PCIe driver: rt2800pci v: 2.3.0 bus-ID: 04:00.0
IF: wlp4s0 state: down mac: <filter>
Drives:  HDD Total Size: 2320.5GB (11.6% used)
ID-1: /dev/sda model: WDC_WD20EARS size: 2000.4GB temp: 0C
ID-2: USB /dev/sdb model: 3200BEV_External size: 320.1GB temp: 0C
Partition:ID-1: / size: 826G used: 252G (33%) fs: ext4 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:  System Temperatures: cpu: 45.0C mobo: N/A gpu: 0.0:58C
Fan Speeds (in rpm): cpu: N/A
Info:    Processes: 198 Uptime: 6 min Memory: 1579.6/5828.6MB Init: systemd runlevel: 5 Gcc sys: 6.3.0               
Client: Shell (bash 4.4.71) inxi: 2.3.8

When it does work, it's pretty much the same, except I see "IF: wlp4s0 state: up" in "Network"


ifconfig

When the wifi works

Code:

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
      ether 6c:62:6d:c8:52:8b  txqueuelen 1000  (Ethernet)
      RX packets 0  bytes 0 (0.0 B)
      RX errors 0  dropped 0  overruns 0  frame 0
      TX packets 0  bytes 0 (0.0 B)
      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
      inet 127.0.0.1  netmask 255.0.0.0
      inet6 ::1  prefixlen 128  scopeid 0x10<host>
      loop  txqueuelen 1000  (Boucle locale)
      RX packets 1420  bytes 95628 (95.6 KB)
      RX errors 0  dropped 0  overruns 0  frame 0
      TX packets 1420  bytes 95628 (95.6 KB)
      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      inet 192.168.1.89  netmask 255.255.255.0  broadcast 192.168.1.255
      inet6 fe80::7f4:f224:6db3:6bcb  prefixlen 64  scopeid 0x20<link>
      ether 1c:65:9d:eb:b4:1c  txqueuelen 1000  (Ethernet)
      RX packets 23  bytes 2638 (2.6 KB)
      RX errors 0  dropped 0  overruns 0  frame 0
      TX packets 98  bytes 14055 (14.0 KB)
      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

When it doesn't work

Code:

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
      ether 6c:62:6d:c8:52:8b  txqueuelen 1000  (Ethernet)
      RX packets 0  bytes 0 (0.0 B)
      RX errors 0  dropped 0  overruns 0  frame 0
      TX packets 0  bytes 0 (0.0 B)
      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
      inet 127.0.0.1  netmask 255.0.0.0
      inet6 ::1  prefixlen 128  scopeid 0x10<host>
      loop  txqueuelen 1000  (Boucle locale)
      RX packets 992  bytes 73472 (73.4 KB)
      RX errors 0  dropped 0  overruns 0  frame 0
      TX packets 992  bytes 73472 (73.4 KB)
      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Ismod

When the wifi works

Code:

Module                  Size  Used by
ccm                    20480  2
nvidia_uvm            36864  0
gpio_ich              16384  0
snd_hda_codec_hdmi    49152  4
joydev                20480  0
input_leds            16384  0
nvidia              10563584  92 nvidia_uvm
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
intel_powerclamp      16384  0
coretemp              16384  0
snd_hda_intel          36864  5
snd_hda_codec        126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
kvm                  593920  0
snd_hda_core          81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realte
k
irqbypass              16384  1 kvm
snd_hwdep              16384  1 snd_hda_codec
intel_cstate          20480  0
snd_pcm              102400  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_seq_midi          16384  0
snd_seq_midi_event    16384  1 snd_seq_midi
arc4                  16384  2
snd_rawmidi            32768  1 snd_seq_midi
rt2800pci              16384  0
rt2800mmio            16384  1 rt2800pci
rt2800lib              94208  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio            16384  2 rt2800mmio,rt2800pci
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
mac80211              782336  3 rt2800lib,rt2x00pci,rt2x00lib
snd_seq_device        16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
drm                  352256  3 nvidia
cfg80211              602112  2 rt2x00lib,mac80211
snd                    77824  21 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,s
nd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
eeprom_93cx6          16384  1 rt2800pci
lpc_ich                24576  0
soundcore              16384  1 snd
mei_me                40960  0
mei                  102400  1 mei_me
shpchp                36864  0
wmi                    16384  0
mac_hid                16384  0
parport_pc            32768  0
ppdev                  20480  0
lp                    20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables              36864  1 ip_tables
autofs4                40960  2
uas                    24576  0
usb_storage            69632  2 uas
hid_generic            16384  0
usbhid                53248  0
hid                  114688  2 hid_generic,usbhid
ahci                  36864  3
firewire_ohci          40960  0
r8169                  81920  0
firewire_core          65536  1 firewire_ohci
libahci                32768  1 ahci
crc_itu_t              16384  1 firewire_core
mii                    16384  1 r8169
fjes                  73728  0

When it doesn't

Code:

Module                  Size  Used by
snd_hda_codec_hdmi    49152  4
nvidia_uvm            36864  0
gpio_ich              16384  0
nvidia              10563584  84 nvidia_uvm
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
arc4                  16384  2
joydev                20480  0
rt2800pci              16384  0
snd_hda_intel          36864  5
input_leds            16384  0
rt2800mmio            16384  1 rt2800pci
snd_hda_codec        126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
rt2800lib              94208  2 rt2800mmio,rt2800pci
snd_seq_midi          16384  0
rt2x00pci              16384  1 rt2800pci
intel_powerclamp      16384  0
rt2x00mmio            16384  2 rt2800mmio,rt2800pci
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
snd_seq_midi_event    16384  1 snd_seq_midi
snd_hda_core          81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realte
k
snd_rawmidi            32768  1 snd_seq_midi
snd_hwdep              16384  1 snd_hda_codec
coretemp              16384  0
mac80211              782336  3 rt2800lib,rt2x00pci,rt2x00lib
snd_pcm              102400  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
drm                  352256  3 nvidia
snd_seq_device        16384  3 snd_seq,snd_rawmidi,snd_seq_midi
cfg80211              602112  2 rt2x00lib,mac80211
eeprom_93cx6          16384  1 rt2800pci
snd_timer              32768  2 snd_seq,snd_pcm
kvm                  593920  0
mei_me                40960  0
snd                    77824  21 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,s
nd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
mei                  102400  1 mei_me
lpc_ich                24576  0
irqbypass              16384  1 kvm
intel_cstate          20480  0
shpchp                36864  0
soundcore              16384  1 snd
wmi                    16384  0
mac_hid                16384  0
parport_pc            32768  0
ppdev                  20480  0
lp                    20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables              36864  1 ip_tables
autofs4                40960  2
uas                    24576  0
usb_storage            69632  1 uas
hid_generic            16384  0
usbhid                53248  0
hid                  114688  2 hid_generic,usbhid
ahci                  36864  1
firewire_ohci          40960  0
libahci                32768  1 ahci
firewire_core          65536  1 firewire_ohci
r8169                  81920  0
crc_itu_t              16384  1 firewire_core
mii                    16384  1 r8169
fjes                  73728  0

sudo lshw -c net; lspci -nnk | grep -iA2 net

When the wifi works

Code:

*-network                 
      description: Ethernet interface
      product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: enp2s0
      version: 03
      serial: 6c:62:6d:c8:52:8b
      size: 10Mbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt
-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic
/rtl8168d-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
      resources: irq:25 ioport:d800(size=256) memory:fbdff000-fbdfffff memory:f8ffc000-f8ffffff memory:fbdc0000-fbddffff
 *-network
      description: Wireless interface
      product: RT3090 Wireless 802.11n 1T/1R PCIe
      vendor: Ralink corp.
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: wlp4s0
      version: 00
      serial: 1c:65:9d:eb:b4:1c
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=rt2800pci driverversion=4.10.0-42-generic firmware=0.40 ip=192.168.1.89 latenc
y=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:17 memory:fbff0000-fbffffff
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Contro
ller [10ec:8168] (rev 03)
      Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:2a9c]
      Kernel driver in use: r8169
      Kernel modules: r8169
--
04:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
      Subsystem: Lite-On Communications Inc RT3090 Wireless 802.11n 1T/1R PCIe [11ad:6632]
      Kernel driver in use: rt2800pci

When it doesn't work , it seems to be the same, except I see « network DISABLED » for the wireless interface and « link=yes » in configuration.



rfkill list all

Whether the wifi works or not

Code:


0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no


"rfkill unblock wifi" and "rfkill unblock all" don’t change the results of iwconfig.





"sudo service network-manager restart" restarts the network manager but doesn’t change the problem.

"sudo modprobe rt2800pci" didn’t activate the wifi.

Multiple computers vs. one computer

$
0
0
This is a combination networking and hardware question. I have started to learn and practice hydroponics (HP) - I am hoping to develop it into a last (final??) career change as I swing into retirement - and want to collect and store data electronically about my system, as well as to control it. I am leaning towards using a raspberry pi to do the data collecting and controlling on each site. I have 3 hp sites in my home so want to consolidate my data on one server. I also have a couple of home security cameras that I want to store data, a weather station to collect data from have and set up my browser to download pages and data during the daytime, when internet usage in my neighborhood is really low - no one is home :) What kind of hardware should I use? I have a pc with an i5 that is not being used now. Will the raspberry pi be useful? Or is there a better/cheaper way to connect multiple sites to one computer for data collection? Are they overkill? My concern here is both dependability and affordability - simplicity also, but I am willing to dig into a few webpages and study if it will get me dependability at a lower price. Right now, the computers are only 10-20 feet apart, but once I am in practice, they will be 100-300 feet apart.

Linux internet dropping occasionally using HTTP Proxy?

$
0
0
In order to use internet at my university campus I need to set an HTTP Proxy which under Windows 10 works *ok without latency and connection problems unless (*I say ok because at peak hour everything is painfully slow).
The problem is on linux where the speed is negatively impacted in relation to windows 10 and has terrible latency, waiting 4-6 seconds just for initial DNS lookup.
Sometimes the page doesn't load at all and I have to refresh 2-3 times.
If I open 3-4 tabs under chrome and the dns resolves the 5 tab isn't loading at all (Waiting for socket...).


INFO:
- http_proxy: department.university.com
- proxy_port: 8080


Code:

~/eq $ sudo systemctl status NetworkManager.service


● NetworkManager.service - Network Manager
  Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
          └─NetworkManager-ovs.conf
  Active: active (running) since Mon 2018-01-08 16:44:27 EET; 7h ago
    Docs: man:NetworkManager(8)
 Main PID: 434 (NetworkManager)
    Tasks: 11 (limit: 4915)
  CGroup: /system.slice/NetworkManager.service
          ├─ 434 /usr/bin/NetworkManager --no-daemon
          ├─1803 /usr/lib/nm-pptp-service --bus-name org.freedesktop.NetworkManager.pptp.Connection_40
          ├─1807 /sbin/pppd pty /sbin/pptp 192.168.128.3 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-1803 ipparam nm-pptp-service-1803 nodetach lock usepeerdns noipdefault nodefaultroute noauth refuse-eap refuse-pap refuse-ch
          ├─1810 /sbin/pptp 192.168.128.3 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-1803
          └─1820 /sbin/pptp 192.168.128.3 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-1803


Jan 09 00:09:13 xedo NetworkManager[434]: <info>  [1515449353.2755] connectivity: (wlan0) timed out
Jan 09 00:09:15 xedo pptp[1820]: nm-pptp-service-1803 log[logecho:pptp_ctrl.c:719]: Echo Reply received.
Jan 09 00:10:15 xedo pptp[1820]: nm-pptp-service-1803 log[logecho:pptp_ctrl.c:719]: Echo Reply received.
Jan 09 00:11:15 xedo pptp[1820]: nm-pptp-service-1803 log[logecho:pptp_ctrl.c:719]: Echo Reply received.
Jan 09 00:12:15 xedo pptp[1820]: nm-pptp-service-1803 log[logecho:pptp_ctrl.c:719]: Echo Reply received.
Jan 09 00:12:15 xedo pptp[1820]: nm-pptp-service-1803 log[logecho:pptp_ctrl.c:721]: no more Echo Reply/Request packets will be reported.
Jan 09 00:14:13 xedo NetworkManager[434]: <info>  [1515449653.2765] connectivity: (wlan0) timed out
Jan 09 00:19:13 xedo NetworkManager[434]: <info>  [1515449953.2795] connectivity: (wlan0) timed out
Jan 09 00:24:13 xedo NetworkManager[434]: <info>  [1515450253.2789] connectivity: (wlan0) timed out
Jan 09 00:29:13 xedo NetworkManager[434]: <info> [1515450553.2774] connectivity: (wlan0) timed out


I'm on Ubuntu with Gnome (previously xfce4 but a bit hard to set/unset proxy).


Is there any way I can solve those problems? I disabled ipv6 because of some errors in dmesg.

Wifi USB card.

$
0
0
So I am a newbie, I bought a new usb wireless, so it's said it's plug N play for ubuntu. So like I said I'm a newbie I'm new for linux, trying to study & learn the more I can, didn't find what I want.
So ubuntu recognised my usb wireless but I want some explaination about this. So I try on Kali it perfectly work, & the light on usb turn on, all go well.I don't want to be judge cause I'm a bit noob please.
For ubuntu ( light off ) I try different command in terminal for example .

ifconfig:
wlp2s0 ( i think it's my internal card in my laptop ) &&
wlx9cefd5feb923 ( the usb wireless )

lshw -C network && lsub

From there i see my wireless usb.

So my question is: How can I know my wireless USB adaptor work fine ? How can I know which one work? Does the 2 work separate or they work together I'm a bit confused.
Again sorry for my english I'm doing my best to work without translate. Thank you everyone.

NFS Mounting, what am I dong wrong

$
0
0
Hi all,

Trying to setup some network drives like I used to do on windows. I look back and can't believe how easy it was in comparison.
I never had trouble with it on windows nor on my android devices. I am using a QNAP NAS with 5 or 6 parent folders with variouis permission etc. For the purpose below I am trying to map with admin which has no restrictions in the QNAP.

I was easily able to mount the public folder by

sudo mkdir ~/mnt/QNAP/Public(I then checked to see it made the directory)
sudo mount -t nfs -O username=admin,password=123456 192.168.0.111:/Public /mnt/qnap/public

No problem, works well.

but let's say I wanted to map my 'multimedia' directory, I did

sudo mkdir ~/mnt/QNAP/Multimedia (I then checked to see it made the directory)
sudo mount -t nfs -O username=admin,password=123456 192.168.0.111:/Multimedia /mnt/qnap/multimedia

However this returns an error

mount.nfs: access denied by server while mounting 192.168.0.111:/Multimedia

I have tried with 2-3 others folders, that I have successfully mapped on other devices, but no luck in Ubuntu. I doubled checked all settings when I log into QNAP and everything is enabled for NFS.

Would appreciated any help I can get, thanks!

Trying to Update Broadcomm driver on Ubuntu 16.04, not responding

$
0
0
First post from a Newbie.

I converted an old DELL PC to install Ubuntu, just to practice using Linux. It loaded and installed updates except for Bluetooth connectivity. I know this is a big problem, all over Linux. "Adapter not found" I searched various ways and think I found he model/chipset and downloaded the Install Kit for #43b using another machine. Back at the Dell, Linux was able to view the Install Kit (both DVD and USB versions) but never responded when I pressed the INSTALL BUTTON. I don't know enough about Linux yet on how to manually accomplish this.

Any hints or code will be appreciated.

Appallingly New at Ubuntu and wifi dropping 17.04

$
0
0
Hi forum users;
I just bought an Acer PC from someone, I'm happy with the purchase. But I have never used Linux at all and I'm literally into day 3 of Ubuntu Studio 17.04. So imagine that I know less than nothing as I've always relied on Windows. I don't even know the basics other than turn it on, go online, cut and paste into a terminal (and that's questionable). I'd like to give this a go and become an Ubuntu guy and say no to Windows but I'm not sure I can. Lots of questions, but to start with I am having connectivity problems. I can get online but my wifi drops every 5-10 minutes. Anyone want to muster the gall to not talk in computer language when talking a Linux peasant newbie like me through this?

Port is opened and closed at the same time, Mongo server

$
0
0
Hi.
I'm moving my Mongo Server from Windows to Ubuntu, but I can't log in via mongo ip:port. I spent over 10 hours debugging this problem but still can't wrap my head around what's wrong.

So I run Mongo on this new Ubuntu. I believe the conf file is ok since it worked fine on Windows. I binded 0.0.0.0.

I flushed iptables and set new rules. Currently
Code:

iptables -L
yields

Code:

Chain INPUT (policy ACCEPT)
target    prot opt source              destination       
ACCEPT    tcp  --  anywhere            anywhere            multiport dports domain,http,https,ssh,netbios-ssn,microsoft-ds,netbios-ns,netbios-dgm,27017 ctstate NEW,ESTABLISHED
ACCEPT    tcp  --  anywhere            anywhere            multiport sports domain,http,https,ssh,netbios-ssn,microsoft-ds,netbios-ns,netbios-dgm,27017 ctstate NEW,ESTABLISHED
ACCEPT    all  --  anywhere            anywhere            state RELATED,ESTABLISHED
ACCEPT    all  --  192.168.0.0/24      anywhere           


Chain FORWARD (policy ACCEPT)
target    prot opt source              destination       


Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination       
ACCEPT    tcp  --  anywhere            anywhere            multiport dports domain,http,https,ssh,netbios-ssn,microsoft-ds,netbios-ns,netbios-dgm,27017 ctstate ESTABLISHED
ACCEPT    tcp  --  anywhere            anywhere            multiport sports domain,http,https,ssh,netbios-ssn,microsoft-ds,netbios-ns,netbios-dgm,27017 ctstate ESTABLISHED
ACCEPT    all  --  anywhere            192.168.0.0/24     
ACCEPT    all  --  192.168.0.0/24      anywhere

I need 27017 to be opened. I've tried multiple approaches with no results, none of the iptables rules work.
Code:

nmap -p 27017 -v 192.168.0.175 # Mongo on Ubuntu ip
shows that the port is closed, but if I run it locally with
Code:

nmap -p 27017 -v 127.0.0.1
it says it's opened.

When I nmap Ubuntu-Mongo address I get
Code:

PORT    STATE SERVICE
22/tcp  open  ssh
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds

which also surprises me, because I expected more ports to be opened.

At this point security is not my highest concern. I really need to force Ubuntu to allow connection with all computers from the private network. Any tips are highly appreciated.


Additional info:
Client: Ubuntu 16.04, ip: 192.168.0.132
Server: Ubuntu 16.04, ip: 192.168.0.175

mongod.conf contents
Code:


storage:
  dbPath: /home/username/mongo_data
  directoryPerDB: true
  journal:
    enabled: true


systemLog:
  destination: file
  logAppend: true
  path: /home/username/mongo_logs


net:
  port: 27017
  bindIp: 0.0.0.0


processManagement:
  timeZoneInfo: /usr/share/zoneinfo


security:
  authorization: "enabled"

How I've tried to connect:
Code:

mongo ip:port
The error I get:
Code:

MongoDB shell version v3.4.10
connecting to: 192.168.0.175:27017
2018-01-10T11:05:20.897+0100 W NETWORK  [thread1] Failed to connect to 192.168.0.175:27017, in(checking socket for error after poll), reason: Connection refused
2018-01-10T11:05:20.906+0100 E QUERY    [thread1] Error: couldn't connect to server 192.168.0.175:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed

I am desperately looking for a solution.

[ubuntu] Ubuntu 16.04 DNS/Networking Issues

$
0
0
We recently upgrade one of our web server's from 14.04 to 16.04 LTS. Ever since we upgrade the websites have been going up and down, or timing out. I read an article about Ubuntu Network Manager by default uses dsnmasq and that by disabling it there is a possibility that it will resolve my issue. I tired the following:


Edit /etc/NetworkManager/NetworkManager.conf with the following command:


sudo nano /etc/NetworkManager/NetworkManager.conf


Results:


Directory 'etc/NetworkManager' does not exist


Should network manager be installed? When I try to restart it using one of the following commands:


sudo service network-manager restart
or
sudo systemctl restart network-manager


I get the following:


Failed to restart network-manager.service: Unit network-manager.service not found.


So now what?


Thanks in advance for any and all help.


-daniel

[xubuntu] xubuntu 12.04 don't detect network card

$
0
0
I'm upgrade xubuntu with apt-get upgrade command and after that my linux don't detect network card

OpenVPN service not starting, works when invoke from command line

$
0
0
Hi all,

I moved an OpenVPN instance to another server (Ubuntu 16.04). restored OpenVPN directory from old server /etc/openvpn.

OpenVPN works only when invoked on the command line (sudo or as root): sudo openvpn --config /etc/openvpn/openvpn.conf

When starting with systemctl, no error are displayed, it just won't start. Verbose is set to 6 in the config file, all I can see in syslog is this:

Jan 10 13:46:06 mtlsrv systemd[1]: Starting OpenVPN service...
Jan 10 13:46:06 mtlsrv systemd[1]: Started OpenVPN service.

No tun interface appears in ifconfig.

Any ideas?

Thanks in advance,

François

[ubuntu] Wifi automatically disconnects in ubuntu 16.04

$
0
0
Hi, I am using Ubuntu 16.4 on PH Pavilion laptop. After sometime using my laptop, wifi is disconnected and showing "Password requird". When I enter my wifi password it's worked. But it disturb again and again.
My wireless info Pastebin link is https://paste.ubuntu.com/26361532/
Please Help me.

Ubuntu 16.04 - Unable to mount NFS shares

$
0
0
Hi all,

my exports file on NFS server :

Code:

/home/filip/Documents/ 192.168.2.5(rw,sync,no_subtree_check)
/home/filip/Images/ 192.168.2.5(rw,sync,no_subtree_check)
/home/filip/Vidéos/ 192.168.2.5(rw,sync,no_subtree_check)
/media/filip/USB-LINUX-1.2To/ 192.168.2.5(rw,sync,no_subtree_check)
/media/filip/USB-DISK640/ 192.168.2.5(rw,sync,no_subtree_check)

my fstab file on NFS client ;
Code:

192.168.1.85:/home/filip/Documents /mnt/nfs_Documents  nfs  user,auto  0 0
192.168.1.85:/home/filip/Images /mnt/nfs_Images  nfs  user,auto  0 0
192.168.1.85:/home/filip/Vidéos /mnt/nfs_Vidéos  nfs  user,auto  0 0
192.168.1.85:/media/filip/USB-DISK640  /mnt/nfs_USB-DISK640  nfs  auto,user,nfsvers=3  0 0
192.168.1.85:/media/filip/USB-LINUX-1.2To  /mnt/nfs_USB-LINUX-1.2To  nfs  auto,user,nfsvers=3  0 0

I can mount Documents, Images and Videos shares but when i try with the USB shares, i have this message :
Code:

sudo mount -a
mount.nfs: access denied by server while mounting 192.168.1.85:/media/filip/USB-DISK640
mount.nfs: access denied by server while mounting 192.168.1.85:/media/filip/USB-LINUX-1.2To

Any ideas to fix that ?

Can't connect to my wifi anymore

$
0
0
Hello,

Yesterday and today morning it worked, but suddenly it does not anymore.

My wifi is working 100% since I can connect my phone to it and other computers.
https://paste.ubuntu.com/26365066/
I tried the Random Mac fix in NetworkManager.conf and restarted but no success.
I'm using Ubuntu 16.04.3 LTS 64-bit with Gnome Desktop

[ubuntu] Connecting to wifi before logging in Ubuntu 16.04

$
0
0
I recently upgraded from 14.04 to 16.04. Kernel: 4.13.0-26-generic

The steps I used to do:
  1. Connect to wifi on login screen
  2. Connect to VPN
  3. Login to Ubuntu


But now when I try step 1, i get an "unsufficent privileges" error. I can login to the wifi once I login though. Step 1 and 2 need to be completed before logging in. is there a way to adjust the settings so I can connect to wifi before logging in?

The connection is "Available to all users" in the Network Manager.

Anonymous question

$
0
0
Hello, Linux users

I have small questions when comes to VPN and Mac-changer, I am currently use VPN and it's working just fine but when i change my MAC address it's not really do anything.
Here is the commands i put into the terminal:

JInx ~ # macchanger -s wlo1
Current MAC: f0:03:8c:71:51:e7 (unknown)
Permanent MAC: f0:03:8c:71:51:e7 (unknown)

JInx ~ # macchanger -A wlo1
Current MAC: f0:03:8c:71:51:e7 (unknown)
Permanent MAC: f0:03:8c:71:51:e7 (unknown)
New MAC: 00:05:de:b2:38:ca (Gi Fone Korea, Inc.)

JInx ~ # expressvpn connect itmi
Connecting to Italy - Milan... 100.0%

Connected.

Okay, so far so good but when i crosscheck my MAC its going back to normal

JInx ~ # macchanger -s wlo1
Current MAC: f0:03:8c:71:51:e7 (unknown)
Permanent MAC: f0:03:8c:71:51:e7 (unknown)

So how that works even tho before i put all those commands i take ifconfig wl01 down and they after i did the MAC changer i brought it back up and then i used the VPA commands but i guess the MAC is remaining the same. What em I doing wrong?

Best regards,

[ubuntu_mate] Importing multiple VPN profiles

$
0
0
HI, Im new here so if this isnt posted in the correct area; just be nice and help me get it to the correct place.

I have ubuntu mate and need to import about 30 openvpn profiles to my remote sites, is their any way to do this with out click through the import on each one? Please provide directions or link to a solution if possible.
Viewing all 23300 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>