[Dlink-syslog-devel] [Fwd: RE: Dlink Syslog util]
Brought to you by:
arkane
|
From: Dan L. <ar...@co...> - 2004-04-08 04:26:04
|
-------- Original Message -------- Subject: RE: Dlink Syslog util Date: Mon, 5 Apr 2004 10:47:04 -0400 From: Pittman, Rudi <rvp...@bc...> To: Dan Lund <ar...@co...> Well....I have good new and bad news.... Using lynx it continues to work perfectly.... Using w3m it does not return an error but is NOT pushing the log entries onto the syslog. I did a quick grep on dlink and the only entries showing up are the ones showing the crontab running every 5 minutes...so apparently w3m still needs tweaking. Rudi -----Original Message----- From: Dan Lund [mailto:ar...@co...] Sent: Saturday, April 03, 2004 12:36 PM To: Pittman, Rudi Subject: Re: Dlink Syslog util Well, thanks for the help. I've included the ability to use w3m in the new beta I put onto the sourceforge.net page this morning. I figure that 9 times out of 10 either lynx or w3m will be in the users path so I made a simple variable where you tell it lynx or w3m. Took the time to make the script more modular too ;) If you'd like to give the beta a shot, I'd be most appreciative. If not, I'll take the time later in the week to install w3m and try it out with the script. I've tested it with Lynx and it runs fine. --Dan Wow, Can you believe Pittman, Rudi said this on 04/02/04 10:46: > Escaping the @ worked like a charm...I know shell scripting better > then perl. ;) Will be able to uninstall lynx now! > > Thanks for the help and be glad to help test whatever. ;) > > Rudi > > Here's the official info on w3m. ;) > > Name: w3m > Version: 0.4.1_m17n_20030308 > Release: 61 > Installed: Yes > Status: up-to-date > Installed size: 1670184 > Summary: A text-based WWW browser > Description: > W3m is a pager and text-based WWW browser. It has a number of useful > features: > > * w3m can render tables > > * w3m can render frames (it converts the frames into a table) > > * SSL support > > * w3m can easily display documents from standard input > > * w3m can handle cookies > > * w3m is small > > * w3m has mouse support > > If w3m-inline-image is installed it can display graphics inside > terminals, even on the console on some platforms. > > > > Authors: > -------- > Akinori Ito <ai...@ei...> > Hans-J. Boehm <bo...@ac...> > many other contributors, see > /usr/share/doc/packages/w3m/gc/README > > > -----Original Message----- > From: Dan Lund [mailto:ar...@co...] > Sent: Friday, April 02, 2004 11:24 AM > To: Pittman, Rudi > Subject: Re: Dlink Syslog util > > > You'd need to escape the @ symbol. > For your $masterurl, use > > $lynxexec -dump http://admin:$adminpass\@$routerip"; > > See if that gets you where you want to go. > Thanks for explaining w3m to me. I've never heard of it, but then > again > I haven't really done much with SuSE. > If that works, I'd like to include a feature for it in the script. > (maybe a commented line that says 'hey, if you use w3m, uncomment > this > and comment the lynx lines'.) > > --Dan > > Pittman, Rudi wrote: > > >>w3m supports ssl, frames..tables and other features lynx >>doesn't...it's also REQUIRED by some distributions for other >>packages..Suse 9.0 uses it for some of the YAST utils...so now I >>have two text browsers installed...would like to consolidate back > > to > >>one (one of the machines is a laptop so I try to minimize packages) >>Unfortunetly it is still not working right and it may be a w3m >>issue...I made these changes: >>my $lynxexec = "/usr/bin/w3m"; >>my $masterurl = "$lynxexec -dump >>http://admin:$adminpass@$routerip"; >> >>When I run it I get this: >>w3m: Can't load http://admin:donovan/log.cgi. >>w3m: Can't load http://admin:donovan/st_log.html. >>w3m: Can't load http://admin:donovan/log.cgi. >> >>I can make it work by hardcoding the full url in there probably but >>wanted to avoid doing that. >> >>Rudi >> >> >>-----Original Message----- >>From: Dan Lund [mailto:ar...@co...] >>Sent: Friday, April 02, 2004 10:55 AM >>To: Pittman, Rudi >>Subject: Re: Dlink Syslog util >> >> >>Very nice, thanks Rudi. >>I'll update the webpage to show that. >>Can I ask what the inherent plus is for w3m, or did you try using > > it > >>because "it was there"? >>I want to know, because if there's an upside to it I'd like to > > know. > >>--Dan >> >>Pittman, Rudi wrote: >> >> >> >> >>>Thought you might want to know that your script also works for a >>>DI-614+ router.....I was trying to make it use w3m instead of lynx >>>which uses a line like >>> >>>w3m -dump http://admin:password@routerip but have not worked out >>>all the kinks yet....ended up installing lynx to try it. >>> >>>Rudi >>> >>> >>> >>> >>> >> >>----------- >>This email message and any attachment may contain Confidential or >>Protected Health Information. If you are not the intended recipient >>please notify us immediately at 480-648-4545 and delete the > > message. > >> >> > > > ----------- > This email message and any attachment may contain Confidential or > Protected Health Information. If you are not the intended recipient > please notify us immediately at 480-648-4545 and delete the message. > |