Search Results

Search: Posts Made By: LAVco
1,848
Posted By LAVco
SLIP/PPP questions
Hello all..

I need to script SLIP dial-up connections and wanted ask others about the following;

- does pppd support SLIP (noticed some releases do and some don't)
- if pppd doesn't support...
Forum: Ubuntu 09-24-2010
5,323
Posted By LAVco
I gave your suggestion a try with no success. ...
I gave your suggestion a try with no success. I'll take a look at the FAQ post to see what I can try: https://www.unix.com/answers-frequently-asked-questions/13527-cron-crontab.html

It's just odd...
Forum: Ubuntu 09-23-2010
5,323
Posted By LAVco
Help with troubleshooting crontab
Hello all,

When I configured cron jobs that execute bash scripts a while back on my box they worked and the other day I tried to enable cron jobs that execute a bash script to run with no success....
3,399
Posted By LAVco
somewhat defeats the original question posted;...
somewhat defeats the original question posted; multiple concurrent connections is needed e.g. parallel connections. They are remote devices

---------- Post updated at 10:04 AM ---------- Previous...
3,399
Posted By LAVco
yes - connection 1 connects, hang-up, then...
yes - connection 1 connects, hang-up, then connection 2 connects.

I am trying to figure out why a ppp1 interface isn't being created when the second connection is initiated.
3,399
Posted By LAVco
Connection 0 Script...
Connection 0
Script /etc/ppp/scripts/ppp-on-dialer1 finished (pid 4364), status = 0x0
Serial connection established.
using channel 16768
Using interface ppp0
Connect: ppp0 <--> /dev/ttyRP00...
3,399
Posted By LAVco
Help with dial-up to multiple ppp servers
Hello all,

I am trying to establish two ppp connections using chap authentication over dial-up. I am using the generic connect scripts and can connect to the first server but when I try to...
8,110
Posted By LAVco
Thanks Corona... Interestingly enough...
Thanks Corona...

Interestingly enough something in the back of my head said don't rm it. I took a look on another box I have setup and surprisingly sh has a symbolic to dash in Ubuntu. Phew!
...
8,110
Posted By LAVco
Symbolic Link Help
Hello All,

This may be a silly question to some but I am really stuck.

Is there a way to reverse the following;

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

It was part of a driver...
Forum: Infrastructure Monitoring 04-25-2010
2,568
Posted By LAVco
alister: query conditions were provided. ...
alister: query conditions were provided.
pseudocoder: thanks (some things that seem easy for others aren't).

thanks for your help.
Forum: Infrastructure Monitoring 04-25-2010
2,568
Posted By LAVco
Log file query
Hello all,

I am trying to query a log file based on 5 conditions; Information, Warning, Error or Warning, Error or Information, Warning, Error.

Sample of the log file:

2010-04-25 12:47:06...
1,761
Posted By LAVco
thank scottn. I tried: # stdout to...
thank scottn.

I tried:

# stdout to multiple files, using tee...
bash somescript.sh | tee -a $f1 >> $f2 2>&1 &

and output was redirected to the terminal having no output to either file.
...
1,761
Posted By LAVco
Output stderr to 2 or more files
Hello all,

I tried a few variations but can't get this to work.

I am trying output an hourly and daily log.


# hourly log file (f1)
# daily log file(f2)...
16,134
Posted By LAVco
Nice! Thanks for your assistance.
Nice! Thanks for your assistance.
16,134
Posted By LAVco
thanks for the clarification. The () was me...
thanks for the clarification. The () was me playing around trying to get it to output and I've tried the way you suggested previously with no success.

---------- Post updated at 02:22 AM...
16,134
Posted By LAVco
no (not that I am aware of), single script being...
no (not that I am aware of), single script being called within an ARM SBC.

---------- Post updated at 01:52 AM ---------- Previous update was at 01:48 AM ----------

oddly the loop works before...
16,134
Posted By LAVco
thanks for the response.. in bash the result...
thanks for the response..

in bash the result is C1.NL.NLDOT.NLPCP.20100307T052700.tmp

In bourne the result is .20100307T052700.tmp

---------- Post updated at 01:42 AM ---------- Previous...
16,134
Posted By LAVco
String/Variable Concatenation
Hello,

Trying to concatenate the following using bourne shell:


# !/bin/bash
# this works in bash shell e.g. get the results I am expecting...
4,217
Posted By LAVco
I tried the sed version but encountering two...
I tried the sed version but encountering two problems


X=0
sed -n "/\[NETWORK-CAMERA.C1]/,/\[/ {/\[/d;s/.* *= *//;p;}" ../etc/app.conf | while read LINE; do
A[$X]=$LINE
echo ${A[$X]} ...
4,217
Posted By LAVco
Havenīt touched shell in years, but itīs fun to...
Havenīt touched shell in years, but itīs fun to get back into it (missed scratching my head), LOL!

Thanks again everyone...

---------- Post updated at 05:49 PM ---------- Previous update was at...
4,217
Posted By LAVco
configured it out... I had #!/bin/sh and...
configured it out...

I had #!/bin/sh and once I changed it to #!/bin/bash it worked.
4,217
Posted By LAVco
slick, thank you so much! ---------- Post...
slick, thank you so much!

---------- Post updated at 01:33 PM ---------- Previous update was at 11:20 AM ----------

ok this is odd...when I try it within the console it works fine but when I...
4,217
Posted By LAVco
Parse Multi-Section Configuration File
Hello all,

Sample configuration file:

[NETWORK-CAMERA.C1]
username = root
password = admin
IpAddress = 192.168.2.90
HttpCommand = /getfile?hello.jpg
[DATA-CENTER.S1]
Username = root2...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy