Linux Networking

17K

Solutions

14K

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

hi,

How to expand putty to full screen?

also i hae 20 server instances configured  named connection1, connection2 etc till connection20


when i connect it should say connection1 at the top than meaningless ip address etc at the top  of putty window. can i configure somewhere to do that?

also how to change text and background colors. please advise
0
Create the perfect environment for any meeting
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

what is difference between below commands


$ cd xyz

it says no such file or directory

even
$ cd /xyz
says no such file or directory

where as when i say

$ cd /xyz/
it goes to xyz directory though

what is use or importance of /  and / at the beginning and end?

please advise
0
# systemctl start dhcpd
Job for dhcpd.service failed because the control process exited with error code. Se e "systemctl status dhcpd.service" and "journalctl -xe" for details.
0
Hi experts

Require script to capture all root logins, through su - or direct login with root.


OS - CentOS 7
0
I am trying to sync the following repos.

http://mirror.centos.org/centos/7/os/x86_64/

I created a repo in satellite and when I tried to sync its not downloading any packages. I see the meta data processing message came up and suddenly it went to 100% .  I don't see any packages downloaded.
0
Hello,

We have configured a new server in datacenter and everything looks good, but I can't seems to ping from same VLAN,

When I do Arp,

 arp  -a  192.168.0.25
server1 (192.168.0.25) at <incomplete> on eth0

incomplete mean,  switch doesn't have the MAC address of the device?
0
Hi,

In putty vi editor vi unix how to see later pages and change colors for bettwer view.

i open big property file not able to see what is at bottom.

how to search in vi editor for some text sat xyz.

setting i went i changed colors , font etc not reflecting.

what is best setting to give for better view

when i opened
abc.properties in vi
it says 536L, 28390C
what is L what is C
how to know how many lines there how many it is showing etc
can i use winscp free version for production servers viewing property files?
please advise
0
Hi,
In my server i have two nics, eth0 that's a dedicated interface and eth1 that's has configured as trunk on my vmware.
In eth1 I need to create multiple vlan's, i was able to do it but I cant redirect the traffics between each vlan.
Eg:
eth1.96
ip: 192.168.3.2/24
The gateway of this vlan is 192.168.3.1
When I do ping -I 192.168.3.2 192.168.3.1 return unreachable network, seams that miss some rute.
Best regards
0
I have two laptops, one with Windows 10 where the USB dongle works perfectly, but doesn't when I try to use it with Kali Linux running in both VMWare and virtual box after trying so many methods, and the other laptop, I have Kali Linux installed as the main OS where also, unfortunately, the dongle isn't working, I've searched so many forums for solutions and tried every single one to no avail, any help is appreciated.
0
I have a Asus RT-N18U router. (but can buy another one), with DD-WRT firmware DD-WRT v3.0-r32170 std (06/01/17)
I want:
Hotspot for Restaurants that:
-People connect (no password) to WIFI
-they get a webpage (can be on router or in internet)
-webpage ask for emailadress
-once introduced emailadress and send it (to a server in internet with its MAC address) they get granted lets say 2 hours of internet
-after 2 hours they have to come back to the login page again (or better they get blocked for 10 hours with error webpage and after to login page again)
-no other service (not free and not payed) should be used

-the router mentioned offers dd-wrt with onboard radiusserver (I tried it and works), chillispot or nocatsplash (both I didn't get to work)
The router should be configured (WAN) as DHCP automatic conection and he should use his own network with his own DHCP server (so it is easy to connect him to an existing network)

I need somebody who configures the router and tell me how the configuration works. (where are modifyable files)
0
Don't Cry: How Liquid Web is Ensuring Security
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

We had our master DNS server go down last night for our domain (RAID failure). Technically our secondary DNS server should have picked up the slack, however for one domain where our DNS server holds the records for an externally hosted mail server of ours, it was unresponsive until we made NS2 our master server.

The biggest issue is why a secondary server would not show as responsible until becoming a master whereas other services on our network were fine...

Any ideas why this would be the case?
CentOS 7 - BIND.
0
I have one 12U1 SLES machine in which i want to open an port no 31015 for SAP HANA but unable to.

Netstat -tulpn also not showing LISTEN to this port .

I have also tried it with Yast2 firewall advance option but dont same problem

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2475/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2169/master
tcp        0      0 0.0.0.0:51013           0.0.0.0:*               LISTEN      2341/sapstartsrv
tcp        0      0 0.0.0.0:51014           0.0.0.0:*               LISTEN      2341/sapstartsrv
tcp        0      0 0.0.0.0:1128            0.0.0.0:*               LISTEN      2295/sapstartsrv
tcp        0      0 0.0.0.0:1129            0.0.0.0:*               LISTEN      2295/sapstartsrv
tcp        0      0 :::22                   :::*                    LISTEN      2475/sshd
tcp        0      0 ::1:25                  :::*                    LISTEN      2169/master
udp     5376      0 0.0.0.0:68              0.0.0.0:*                           1308/wickedd-dhcp4


telnet IP 31015
gives keep trying then unable to reach

telnet working for other ports like ssh and 1128 etc.

please help
0
I need to connect a Virtual Machine hosted somewhere running CentOS 6 to a client which is allowing connection through VPN only. However I have almost no knowledge about VPNs. The client has given me following info for connection:

VPN Remote Endpoint: <IP Address given by the client>
VPN Hardware: NGX R75.45 (SPLAT)

IKE (Phase 1)
==================
Authentication Method: Pre shared key (TBA)
DIffie-Hellman group: DH-2
Encryption Algorithm: AES-128
Hashing Algorithm: SHA-1
Renegotiate IKE: 14400 seconds

IPSEC (phase 2)
======================
Encryption Algorithm: AES-128
Hashing Algorithm: SHA-1
Renegotiate IKE: 3600 seconds
PFS Enabled: Yes

I am not sure where to put all these info in CentOS to make it to connect to the client's network.

I will be much thankful for any help.
0
when i start the tomcat service i get this error.

server[3387]: May 29, 2017 2:33:36 PM org.apache.coyote.ajp.AjpMessage processHeader
server[3387]: SEVERE: Invalid message received with signature 18245
0
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:sunrpc          0.0.0.0:*               LISTEN      1/systemd
tcp        0      0 0.0.0.0:8817            0.0.0.0:*               LISTEN      5308/mongod
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      652/sshd
tcp        0      0 localhost:smtp          0.0.0.0:*               LISTEN      907/master
tcp        0      0 localhost:32000         0.0.0.0:*               LISTEN      2418/java
tcp        0      0 localhost:27017         0.0.0.0:*               LISTEN      1797/mongod
tcp6       0      0 [::]:monkeycom          [::]:*                  LISTEN      2418/java
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN      1/systemd
tcp6       0      0 [::]:webcache           [::]:*                  LISTEN      3387/java
tcp6       0      0 [::]:http               [::]:*                  LISTEN      4534/httpd
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      652/sshd
tcp6       0      0 [::]:ddi-tcp-1          [::]:*                  LISTEN      28290/node
tcp6       0      0 localhost:smtp          [::]:*                  LISTEN      907/master
tcp6       0      0 [::]:https              [::]:*                  LISTEN      4534/httpd
tcp6       0      0 localhost:mxi           [::]:*                  LISTEN   …
0
[root@web02 ~]# cat /etc/*-release
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)

[root@web02 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.076
Yum Version: 3.2.29
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.rafal.ca
 * extras: centos.mirror.rafal.ca
 * updates: ca.mirror.babylon.network
pkgsack time: 0.126
Installed Packages
Name        : apache-tomcat-apis
Arch        : noarch
Version     : 0.1
Release     : 1.el6
Size        : 246 k
Repo        : installed
From repo   : base
Committer   : Andrew Overholt <overholt@redhat.com>
Committime  : Tue Feb  2 07:00:00 2010
Buildtime   : Wed Nov 10 19:18:17 2010
Install time: Sun May 28 11:58:23 2017
Installed by: root <root>
Changed by  : System <unset>
Summary     : Tomcat Servlet and JSP APIs
URL         : http://tomcat.apache.org/
License     : ASL 2.0
Description : Apache Tomcat's Servlet 2.4/JSP 2.0 and Servlet 2.5/JSP 2.1 APIs.

[root@web01 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

[root@web01 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.009
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * extras: centos.bhs.mirrors.ovh.net
0
Hi everyone, I would like to have outputs of tcpdump in standard structure. Like below:

05:49:56.604899 00:00:00:00:00:02 > 00:00:00:00:00:03, ethertype IPv4 (0x0800), length 10202: 10.0.0.2.54880 > 10.0.0.3.5001: Flags [.], seq 3641977583:3641987719, ack 129899328, win 58, options [nop,nop,TS val 432623 ecr 432619], length 10136
05:49:56.604908 00:00:00:00:00:03 > 00:00:00:00:00:02, ethertype IPv4 (0x0800), length 66: 10.0.0.3.5001 > 10.0.0.2.54880: Flags [.], ack 10136, win 153, options [nop,nop,TS val 432623 ecr 432623], length 0
05:49:56.604900 00:00:00:00:00:02 > 00:00:00:00:00:03, ethertype IPv4 (0x0800), length 4410: 10.0.0.2.54880 > 10.0.0.3.5001: Flags [P.], seq 10136:14480, ack 1, win 58, options [nop,nop,TS val 432623 ecr 432619], length 4344

Open in new window


However it is important for me that all these structured information saved in 10 files with size of 10 MB. I know that I have to use this command:

tcpdump -i h1-eth0 -w /tmp/trace.txt -W 10 -C 10 -K -n

Open in new window


However the problem is that, the out put is not in standard way. Can you please help me to find a single command that gives me the standard out put of the tcpdump in 10 files with size of 10 MB?
0
i downloaded driver from tp-link site.but i don't know how to install it? tell me step by step. or another solution for driver installation.
0
Unable to copy or move files in a linux folder into a mounted mapped network drive.  Getting error file or directory does not exist but yet it does and can display files in the shared folder.
0
Microsoft Certification Exam 74-409
LVL 1
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

i have the following connection. i did clone a server and i would like to see whats running so i can stop those daemon on the cloned VM.
what is the best way to tell which app or service running?


Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 127.0.0.1:8005              0.0.0.0:*                   LISTEN      1890/java
tcp        0      0 0.0.0.0:8009                0.0.0.0:*                   LISTEN      1890/java
tcp        0      0 127.0.0.1:27017             0.0.0.0:*                   LISTEN      2013/mongod
tcp        0      0 0.0.0.0:60333               0.0.0.0:*                   LISTEN      1300/rpc.statd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1278/rpcbind
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      1890/java
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      1942/httpd
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1731/sshd
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1499/cupsd
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1813/master
tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      1942/httpd
tcp        0      0 ip:60288   …
0
My Samba shares recently went missing. After some quick troubleshooting I found that its lost connectivity with the AD servers. The result of a 'net ads info' No login servers.   Since this has been working for sometime now I looked for recent changes. The only significant change is the my 2008 R2 domain controllers installed Service Pack 1.  I saw an error stating that "my-server-name" failed to authenticate. Access is denied.

I removed the samba server from AD and then added it back in. i restarted samba services tried again to no avail. I then removed the client completely and reinstalled but the same error occurred.  I feel like this is AD related but can't discern a path to troubleshoot.
0
We have been attempting for days now to join a Linux client to the Microsoft Active Directory domain.

The process we are using is located at:
https://wiki.archlinux.org/index.php/Active_Directory_Integration#Active_Directory_Configuration

When we get to the Join the Domain - using the command
net ads join -U Administrator

Open in new window



We receive an error:
Failed to join domain: failed to lookup DC info for domain 'DOMAIN NAME' over rpc: Undetermined error

Open in new window


Any help and more information about our configuration is available upon request.

Thanks,
Jim
0
I am using LAMP (Linux, Apache, MySQL, PHP) as my all in one production environment. Normally, I use MAMP (the Mac version of LAMP). The IT department of my employer set up a site in Ubuntu for me. They "defined" and "enabled" the root folder for my site. However, it appears if anything exists outside of the root folder, including other php files, I do not have access to it. For instance, I have a file structures similar to these:

root folder (which includes index.php)  ---> css folder ---> css files

root folder (which includes index.php) ---> php folder ---> php files (such as process-form.php)

How do I define other directories/folders in my site config file and enable them, so I can access them?

Mind you, ALL of this will have to be done through the MS-DOS Command Prompt.
0
We have CentOS 7 server and Samba share/domain installed. The client machines are able to access the shared file from the server and I am able to join the clients to domain. But when I login to domain I get the "Logon service not available" error. Someone please help?
0
Hi Experts

I have a customer that has Linux Centos 6.5 samba file server installed. (old server)
They also have another server that has Centos 7 samba file server installed. (new server)
My scope on the project is to migrate from old server to new server.
I'm not very good in Linux but I understand that it requires to create Linux users as well as samba user for file sharing permission.

What is the proper way to migrate shared folder to new server including [file and folder permissions] and [list of users(linux and samba)"]?
Example we can use Robocopy in Windows server to migrate permission, how about in Linux ? Could you please provide step by step ?


Thanks
0

Linux Networking

17K

Solutions

14K

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.