Re: About 2>&1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2 >& 1 , is used to record the session and not fix the NO CARRIER issue.

##    To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out


--- On Wed, 6/25/08, Edison <edison@xxxxxxxxx> wrote:

> From: Edison <edison@xxxxxxxxx>
> Subject: About 2>&1
> To: discuss@xxxxxxxxxxxxx
> Date: Wednesday, June 25, 2008, 9:31 PM
> This is strange case for me.
> 
> When I do #wvdial
> 
> It will result in NO CARRIER
> 
> But when I do #wvdial 2>&1
> 
> I get CONNECT
> 
> What is 2>&1? Confused ...
> 
> I thought 2>&1 is to put error(stderr) to
> output(stdout), but why it
> solved the NO CARRIER problem?

No it did not solve the NO CARRIER problem.  What might have solved it, was correcting the typo

Carrier Check = no

in /etc/wvdial.conf

The 2 >& 1 is for creating a wvdial.out file to record the session so that you can send it to list so that they/we can help you with troubleshooting your connection.  

If you read carefully in the folder Modem/ there is another folder called DOCs/ in which there is a file wvdial.txt which recommends that you do this 

##    To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out

Please check out Jacques' post-install page:

http://linmodems.technion.ac.il/post-install.html

Please read Modem/DOCs/wvdial.txt so that you can find out what the +MS=90, +MS=34, I use these initialization strings so that I can connect.  When your connection appears to have connected, please open up another termianl and type

$ su -
password:
# ifconfig -a

save the output and send it to us. 

Regards,

Antonio 


      

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux