Linux Networking

18K

Solutions

15K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

ubuntu 16.04 ask always to times for password. How to disable that?
0
Free Tool: Port Scanner
LVL 12
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

how to connect to samba ad via phpldap?
I have a samba 4 active directory in ubuntu and open ldap (slapd) is running. How to connect  open ldap to ad.
i connect to open ldap via phpldapadmin on port 1389.
0
PPTP VPN on Linux Mint won't connect to Windows Server 2016 server. Windows 10 will connect PPTP both externally and internally. Linux fails with an error saying "VPN disconnected because the VPN service stopped"
Server 2016 VPN is set to use MSCHAPv2 only.
WIndows 10 connects when set to use MSCHAPv2 only.
0
i can't connect to openldap from webmin,
Failed to create new tree : The password in the LDAP server configuration is encrypted and cannot be used by Webmin
0
I have samba 4.x.x ad on ubuntu server 16.04.
I want to create 2 way identification.
then when user logon to domain get sms on mobil. is there any open software to this issue. (not google identificatio, this is only for ssh).
0
Hi,

I am seeing a lot of collisions and errors on a WAN port (Sophos SG210) which connects to fiber NTU ( Cisco ME 3400E)

This is 100Mb up/down fiber but I am getting around 60Mb download and 3Mb upload. I think the cause of the slow upload speed is because of the packet collisions and errors.

I get around 70Mb/70Mb when I connect my laptop directly to the NTP.

What would be the cause of the problem?

Here is ifconfig on the WAN link on SG210.

eth1   Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          inet addr:110.xxx.xxx.xxx Bcast:110.xxx.xxx.xxx Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:373271 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220080 errors:2306 dropped:0 overruns:0 carrier:2306
          collisions:128842 txqueuelen:1000
          RX bytes:527821557 (503.3 Mb) TX bytes:48346583 (46.1 Mb)

 ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes: 10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes: 10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        …
0
If you have two accounts in AWS with one linux host in each - what options do you have to copy files (sftp) between the two hosts?
What would be the options? What would be the fastest? The least costly?
0
I have a Ubuntu 16.04 machine on my LAN.  I want to use it for dual purposes:  daily backup of my Windows 10 data files plus as a Plex Media Server.  On my Windows 10 machine all applications and the OS are on C:; absolutely 100% of data files are on logically defined D, E, F and G drives (2TB of SSD in a notebook).  So weekly I make a True Image image of C: and nightly back up all of the D, E, F, G data files.  I was using a Terastation for backup, but it died and was 12 years old, so time to move on.

I tried to put the U machine in the Windows 10 HOMEGROUP by following these instructions: .  Restarted both machines, and "Ubuntu" shows up under Network list (machine name is actually "White Machine") but not under Homegroup.  Under Ubuntu there is only one folder titled "Public" but there is nothing in it.

So before I start the rest of the integration I need to get the Ubuntu machine visible to Windows 10.
0
Individual log  files on my server getting zipped every 1 hour and individual log files getting deleted.

PRoblems i am facing with zipped log files are
1. not able to grep them as easily as individual files

2. not able to tail to see any recent issues



if i copy over to local windows laptop using winscp and unzil anf try to open individual file using notepadd++ says too huge file to open.


how to extract zip file in unix box itself and check log files by doing grep and tail etc

please advise
0
Hello,

I'm facing a problem when lanching a new openstack instance it shows me this error message:
Error: Failed to perform requested operation on instance "instance1", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 30753952-8a94-4945-9684-bdcdb67dc0c9.]. [/quote]


Note: I'm using Centos 7 - Openstack queens in Vmware workstation.
I have tried with cirros minimal (512M Ram)

Openstack Neutron Log:
2018-04-25 09:26:19.187 39785 ERROR neutron.plugins.ml2.managers [req-a1eed056-ac54-4e3f-86f8-7e396a53e1f8 9d8c8d4134c4421d920d1b8a668ae031 cecfef27d2674863b0d8cad11c4e46ec - default default] Failed to bind port 9005ce62-3ab2-4d28-95c1-99d8ab780cba on host localhost.localdomain for vnic_type normal using segments [{'network_id': '181f407d-7258-4e48-a7ea-bbb5510335b3', 'segmentation_id': 1, 'physical_network': None, 'id': '7752f399-8af0-4d17-b80b-f66ef887d351', 'network_type': u'vxlan'}]
0
Cloud Class® Course: MCSA MCSE Windows Server 2012
LVL 12
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Hello,

I'm facing a problem when lanching a new openstack instance it shows me this error message:
Error: Failed to perform requested operation on instance "instance1", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 30753952-8a94-4945-9684-bdcdb67dc0c9.]. [/quote]

Open in new window


Note: I'm using Centos 7 - Openstack queens in Vmware workstation.
I have tried with cirros minimal (512M Ram) and tried also with Centos and Ubuntu.


Openstack Neutron Log:
2018-04-25 09:26:19.187 39785 ERROR neutron.plugins.ml2.managers [req-a1eed056-ac54-4e3f-86f8-7e396a53e1f8 9d8c8d4134c4421d920d1b8a668ae031 cecfef27d2674863b0d8cad11c4e46ec - default default] Failed to bind port 9005ce62-3ab2-4d28-95c1-99d8ab780cba on host localhost.localdomain for vnic_type normal using segments [{'network_id': '181f407d-7258-4e48-a7ea-bbb5510335b3', 'segmentation_id': 1, 'physical_network': None, 'id': '7752f399-8af0-4d17-b80b-f66ef887d351', 'network_type': u'vxlan'}]
0
i have samba 4.2 active directory on ubuntu 16.4 it's running correct.
I join to ad as windows 10 and take permission as administrator.
it's running correct before i update and upgrade ubuntu.
now ubuntu samba ad version and client version is 4.3
i try to start windows active directiry user and computer. iget error:
naming information cannot be located because:
the user name or password is incorrect. contact your ....
0
Hello,

I'm facing a problem when lanching a new openstack instance it shows me this error message:

Error: Failed to perform requested operation on instance "ub15_flavor", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance f2b706fc-2619-4f15-8c07-5c216b4cc336.].

Note: I'm using Centos 7 - Openstack queens in Vmware workstation.
I have tried with cirros minimal (512M Ram) and tried also with Centos and Ubuntu.
0
General concept of openVPN solution for private network. I'm thinking about layer2 bridging mode but... I have one VPS server with Ubuntu 16.04LTS, one local network and two mobile pcs. Starting from server - there is one Ethernet controller with public static IP address. I want to connect to them from 3 places. Should I create 3 TAP interfaces? What about the bridge - bridging eth with TAP(s) or only TAPs from network for example 192.168.2.0/24. Next computer is PC in local network also with one Ethernet controller with address from network 192.168.2.0/24 and Gateway 192.168.2.1. Additionaly two laptops with two network cards, one used for internet access with local address from network 192.168.2.0/24. Have I config TAP and bridge with network card unused or used to connect to internet (WLAN + home WiFi router). I would like to see every computer like in local network, use configured in local network DHCP, DNS (not obliogatory - can be static), used sharing folders, printers, active directory, connect to domain, use DFS. When I trying TUN IP packet routing i probably had wrong configuration but forcing DNS from VPN was disconnecting me from DFS service.
Any help please - routing or bridging and config of TUN/TAPs interfaces with ethernets and Bridges.

Thank You

Paweł
0
Hello, when i want to launch a new instance in my openstack system in Details i find: "There are no Availability Zones."

and when i launch the instance it stuck in "Scheduling".

Could someone please help me to resolve the problem ?

I'm Using openstack Queens under Centos 7.
0
Hi Team,

I need an help , I have RHEL 6.5 installed on my machine . Its a dual boot. Iam unable to connect to the network.
When I type ifconfig I get two entries
lo Link encap:local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host

virbr0 Link encap:Ethernet Haddr 52:54:00:4C:9B:91
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

How can I map the virbr0 to etho  and connect to the network
IMG_20180418_185501.jpg
0
anyone get vncviewer connecting to an ubuntu 16.04 instance?
i have remote connections enabled but vncviewer (6.17.1113) on windows 10 keeps saying it can't connect with the chosen security setting and to either upgrade vnc server or select weaker encryption.
I already did gsettings set org.gnome.Vino require-encryption false but made no difference
tried every encryption setting in the vnc connection
0
I am trying to access tomcat and i don't see any page shows up

http://192.168.2.18:8080

i also did check the firewall and i did rule the firewall issue.

Redhat 7

[root@web01 ~]# netstat -pant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      1614/java
tcp        0      0 192.168.2.18:8080       0.0.0.0:*               LISTEN      1614/java
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      938/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1197/master
tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN      1614/java
tcp        0      0 127.0.0.1:8009          127.0.0.1:33358         TIME_WAIT   -
tcp        0     64 192.168.2.18:22         192.168.2.10:62364      ESTABLISHED 1297/sshd: root@pts
tcp        0      0 127.0.0.1:8080          127.0.0.1:59988         TIME_WAIT   -
tcp        0      0 192.168.2.18:22         192.168.2.10:62356      ESTABLISHED 1251/sshd: root@not
0
open ldap on ubuntu server 16.04
i try to install and configure openldap on ubuntu.
i install slapd ldap-utils and i try to start slapd services.
i get error :

slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
   Loaded: loaded (/etc/init.d/slapd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since 19s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 11693 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)

 'ubuntu'systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
 ubuntu slapd[11693]:  * Starting OpenLDAP slapd
ubuntu slapd[11700]: @(#) $OpenLDAP: slapd  (Ubuntu) (May 30 2017 19:20:53) $
                                             buildd@lgw01-18:/build/openldap-JXEADB/openldap-2.4.42+dfsg/debian/build/servers/slapd
ubuntu slapd[11700]: daemon: bind(9) failed errno=98 (Address already in use)
ubuntu slapd[11693]:    ...fail!
ubuntu systemd[1]: slapd.service: Control process exited, code=exited status=1
ubuntu systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
ubuntu systemd[1]: slapd.service: Unit entered failed state.
ubuntu systemd[1]: slapd.service: Failed with result 'exit-code'.
0
Free Tool: SSL Checker
LVL 12
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

tail -n5000 xyz.log

above shows last 5000 lines right


if i want to see all the 15723 lines of xyz.log what command i have to give

tail -n5000 xyz.log|grep 'ERROR WS'
how to make above case sensitive search like
tail -n5000 xyz.log|grep 'error ws'
how to make above whole word search? so that i wont see below as result ERROR aaa WS etc


please advise
0
Hi

after i installed nextcloud 13.0.1 on centos 7 and most of the features works

i am facing a strange issue with calendar

i cannot create or delete or do anything with calendar on nextcloud management    please check the attached file

do you think i have to change something from GUI or CLI  or install or do something


kindly advice
ccccccccc.jpg
0
Is it possible to creat two domain in samba aktive directory on ubuntu. One for .local and other one for .com .
What  shouls i know to do this? Is there any documentation to do this?
0
securecrt vs putty

what additional feature or advantages or disadvantages securecrt has compared to putty or mputty.

how much is the licence cost per year or life time?

any advantages using securecrt or any other commercial better tools?

please advise
0
winscp how to grep or search on a word say "xyz" in all the folders and sub folders
Please advise
0
Hello Experts,

Getting following error while execute cmd from ssh :-

[root@200 ~]# separateBod
ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD:
119
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Failed to parse arguments: Cannot open display:

separateBod Code:-
#!/bin/bash
printf "ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD"
 read IPNAME
 for i in $IPNAME
 do
  ssh user@192.168.1.$i BOD & pid=$!
 done

BOD Code:-
#!/bin/bash
gnome-terminal \
        --tab -t "Exchange" -e " sh -c 'sleep 1s; ./startapp Exchange' "\
        --tab -t "Dragon" -e " sh -c 'sleep 10s; ./startapp Dragon' "\

startapp code:-
ulimit -c unlimited
export LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH}
./$1 $2 $3 $4 $5

After giving execution cmd from server (ssh) it should be displayed on other server vnc (user@192.168.1.119), it was working properly till last week suddenly i got this error, we have following versions of CentOS 64bit (6.7, 6.8, 6.9, 7.4), getting issue only with 7.4 64bit.

please suggest.
0

Linux Networking

18K

Solutions

15K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

Top Experts In
Linux Networking
<
Monthly
>