Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Aug 20, 2019 8:22 am


News News of Ivorde Unix/Linux/Database/Web/Mail Forum

Site map of Ivorde Unix/Linux/Database/Web/Mail Forum » Forum : Ivorde Unix/Linux/Database/Web/Mail Forum

Welcome to ivorde.ro forum

 [ Total topics 445 Go to page 1, 2, 3, 4, 5 ... 45

Message
 Post subject: use "Ctr-A Ctr-\ " combination to terminate SCREEN session
PostPosted: Tue Mar 20, 2018 10:31 am 
Code:
Really quit and kill all your windows [y/n]
[screen is terminating]

Read more : use "Ctr-A Ctr-\ " combination to terminate SCREEN session | Views : 821 | Replies : 0 | Forum : Tutorials for general Unix

Top
 Post subject: SRX300 - How to connect to serial console via USB port in MacOS
PostPosted: Tue Mar 20, 2018 10:26 am 
The upgraded range of SRX firewalls is equiped with both a DB9 port serial console and a Silicon Labs console with a mini USB port.

If a DB9-USB adapter is not availabale, grab the silicon labs drivers from following Juniper KB https://kb.juniper.net/InfoCenter/index?page=content&id=KB31671&actp=RSS

Once the driver has been installed, connect the usb-miniUSB into the SRX300 front mini usb and run screen to connect to the USB console:

$ ls -la /dev/*USB*
crw-rw-rw- 1 root wheel ...

Read more : SRX300 - How to connect to serial console via USB port in MacOS | Views : 1483 | Replies : 0 | Forum : Juniper SRX

Top
 Post subject: DD (Disk Dump) show write progress
PostPosted: Thu Jan 18, 2018 6:54 pm 
Use CTRL + T while dd is running to see progress to that moment.

Read more : DD (Disk Dump) show write progress | Views : 865 | Replies : 0 | Forum : Shell Scripting and Programming

Top
 Post subject: Vmware ESXi: create custom named vmdk virtual disk [cli]
PostPosted: Tue Jan 16, 2018 6:23 am 
Code:
vmkfstools -c 400G -d zeroedthick -a lsilogic disk-name-400G.vmdk
Create: 100% done.


Checkout below vmware link for more options, or use vmkfstools -H
https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-8D4D25C1-A14F-4133-B13A-7F7D4C3A59E3.html

Read more : Vmware ESXi: create custom named vmdk virtual disk [cli] | Views : 1213 | Replies : 0 | Forum : Virtualization

Top
 Post subject: Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
PostPosted: Tue Jan 16, 2018 6:11 am 
Code:
# vmkfstools -c 5G –diskformat thin testdisk2.vmdk
Extra arguments at the end of the command line.

OPTIONS FOR FILE SYSTEMS:


Above command would contain hidden characters as shown below:

$ echo -n 'vmkfstools -c 5G –diskformat thin testdisk2.vmdk' | wc -c
50
$ echo -n 'vmkfstools -c 5G –diskformat thin testdisk2.vmdk' | xxd
00000000: 766d 6b66 7374 6f6f 6c73 202d 6320 3547 vmkfstools -c 5G
00000010: 20e2 8093 6469 736b 666f 726d 6174 ...

Read more : Vmware ESXi: vmkfstools: Extra arguments at the end of the command line. | Views : 2113 | Replies : 0 | Forum : Virtualization

Top
 Post subject: BASH shell script to mointor a directory and move file without overwriting destination
PostPosted: Wed Nov 15, 2017 7:48 am 
Hello,

So below is a bash script that will monitor a source directory for file creation and, everytime a file is created, move the file to a destination directory without overwriting the file in the destination.

Script:

$ cat move_file.sh
#!/bin/bash

src_dir=/tmp/test/src
dst_dir=/tmp/test/dst

while : ; do
ls ${src_dir} | while read file ; do
# Check if file from src dir exist in dst
i=1
stop=0
while [ $stop -ne 1 ]
do ...

Read more : BASH shell script to mointor a directory and move file without overwriting destination | Views : 984 | Replies : 0 | Forum : Shell Scripting and Programming

Top
 Post subject: Synchronize OpenLDAP and Microsoft Active Directory
PostPosted: Fri Nov 10, 2017 2:40 am 
We have a MS Active Directory to provide LDAP to our application. Now we would like to setup an OpenLDAP server, with MS AD synchronization.
Besides, for security we need to setup a password policy on this OpenLDAP to disable accounts.
1. Can we do that ?
2. If account is disabled on OpenLDAP, how about on MS AD ?

Read more : Synchronize OpenLDAP and Microsoft Active Directory | Views : 2403 | Replies : 0 | Forum : OpenLDAP - Lightweight Directory Access Protocol

Top
 Post subject: BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
PostPosted: Fri Nov 03, 2017 8:24 am 
When Junos is configured for an external BGP session with a neighbor not directly connected, without the "multihop ttl 2" configuration statement, it will fail to accept the neighbor with a notification message following the open message:
Code:
   Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure (5)


There is no fix, but correct configuration: if ebgp neighbor is not directly connected, it's mandatory to:
# set protocols bgp group <GROUP> multihop ...

Read more : BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure | Views : 1228 | Replies : 0 | Forum : Routing and dynamic routing protocols

Top
 Post subject: FreeBSD: Install python package manager (pip)
PostPosted: Fri Nov 03, 2017 6:16 am 
Code:
# python2 -m ensurepip
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages
Collecting pip
Installing collected packages: pip
Successfully installed pip-9.0.1

Read more : FreeBSD: Install python package manager (pip) | Views : 2001 | Replies : 0 | Forum : Shell Scripting and Programming

Top
 Post subject: Problem pinging and using server with mobile hotspot
PostPosted: Mon Oct 23, 2017 10:19 pm 
I have eliminated the cost of Isp by getting an unlimited mobile sprint ZTE hotspot. I used a WiFi bridge to connect to my home router. Everything works fine for appleTV, web surfing and Echo. However I have Tablo and some home servers which I can not access remotely. I am trying to diagnose the issue. Simply using the hotspot. My IP address shows different ip addresses. One is 66.87.124.xxx, another site shows ipv6 address. ...

Read more : Problem pinging and using server with mobile hotspot | Views : 965 | Replies : 0 | Forum : TCP/IP Networking

Top
 [ Total topics 445 Go to page 1, 2, 3, 4, 5 ... 45


Last 10 active topics


Tutorials for general Unix

No new posts use "Ctr-A Ctr-\ " combination to terminate SCREEN session
View the latest post

Juniper SRX

No new posts SRX300 - How to connect to serial console via USB port in MacOS
View the latest post

Shell Scripting and Programming

No new posts DD (Disk Dump) show write progress
View the latest post
No new posts BASH shell script to mointor a directory and move file without overwriting destination
View the latest post
No new posts FreeBSD: Install python package manager (pip)
View the latest post

Virtualization

No new posts Vmware ESXi: create custom named vmdk virtual disk [cli]
View the latest post
No new posts Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts Synchronize OpenLDAP and Microsoft Active Directory
View the latest post

Routing and dynamic routing protocols

No new posts BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
View the latest post

TCP/IP Networking

No new posts Problem pinging and using server with mobile hotspot
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 617 | Total topics 987 | Total members 1192



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO