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,

I have user called xyz under that folder there is folder call test under that there is folder called abc, def, hij etc

i want to search to search in all above folders and subfolders for a particular keyword say " nullpointerexception " how t do that .
please advise
0
Enroll in August's Course of the Month
LVL 9
Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Hi,

winscp how to compare 2 different unix users say xyz and abc by opening xyz on left hands side and abc on right hand side. As of now on the left hands side i was able to open my windows laptop folder structure like C drive etc and on right hands side i am able to open one unix user like abc or xyz etc. please advise
0
hi

on the unix box various users like xyz, abc etc.

Looks like disk space is running out of server and i need to cleanup.

How to know how much user xyz occupying size and how much abc user is occupying size. please advise
0
Hello
Im trying to configure ISC DHCP to work with Microsoft DNS. The following dhcpd.conf file creates the Forward Lookup Zone entry but it doesnt create the Reverse Lookup Zone entry.  Im pretty sure it is possible but Im stuck.  The entry is I believe being created via the device, not by the dhcp server.  I checked the dns entry and it has the hostname$ with modify perms.

Any help is appreciated.  Thanks!

dhcpd.conf - primary
#authoritative;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "example.com.";
ddns-rev-domainname "in-addr.arpa.";
allow client-updates;
one-lease-per-client true;
omapi-port 7911;

#Failover specific configurations
failover peer "dhcp-partner" {
  primary;
  address server1.paychex.com;
  port 647;
  peer address server2.paychex.com;
  peer port 647;
  max-response-delay 60;
  max-unacked-updates 10;
  mclt 3600;
  split 255;
  load balance max seconds 3;
}

include "/etc/dhcp/master.conf";

Open in new window


dhcpd.conf - secondary
#authoritative;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "example.com.";
ddns-rev-domainname "in-addr.arpa.";
allow client-updates;
one-lease-per-client true;
omapi-port 7911;

#Failover specific configurations
failover peer "dhcp-partner" {
  secondary;
  address server2.paychex.com;
  port 647;
  peer address server1.paychex.com;
  peer port 647;
  max-response-delay 60;
  max-unacked-updates 10;
  load balance max seconds 3;
}

include "/etc/dhcp/master.conf";

Open in new window


master.conf

Open in new window

0
In Windows there is a checkbox "Register this connection's addresses in DNS".  See attached screenshot.
What is the equivalent in
- Ubuntu Workstation
- Raspian (Raspberry Pi Debian variant)

Thank you
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
I have a vanguard calamp cellular modem with serivce from verizon and a static WAN address. Attached to it is a controller board running Busy Box v1.22.1.  I am having issues configuring port forwarding of the modem to connect to the busy box device over ssh so i can run diagnostics. does anyone have any experience with something like this?
0
Im looking for some help or recommendation on how I can monitor ISC DHCP more closely.  

  • Id like to know when a scope is close to being fully utilized -- 85-90%?
  Threshold of scope - run out of IPs
   /var/lib/dhcpd/dhcpd.leases
  • dhcp.service stops
  • dhcp failover occurred.


report a WARNING when the Secondary DHCP server kicks in (starts serving addresses due to an issue with the Primary)
report a CRITICAL when both the Primary and Secondary aren't active

Monitoring the dhcpd process running/stopped is unfortunately not really a good solution

Thanks!
0
Hi,
I looged in as xyz user and trying to delete a file in the server domian directory which was created by user say John. how to psuedo to john and delete that file.

what is unix psuedo commandd and how it wrks in unix world. please advise
0
when i cannot stop weblogic server my friend gave below commands



ps -ef | grep ggg3rrr

what above command gives as result?
kill -9 43856
what is -9 and what is 43856 in above kill command.

please advise
0
Veeam Disaster Recovery in Microsoft Azure
LVL 1
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

can anybody tell us which is the best free tool / how to configure transparent squid with AD authentication on Linux
0
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
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,
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 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
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
Free Tool: IP Lookup
LVL 9
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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
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

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.

Top Experts In
Linux Networking
<
Monthly
>