[SLUG] Accessing NAS from LinuxMint(Ubuntu)?

2011-12-08 Thread gonzo01

Just purchased a 1TB Iomega Home Media Network Hard Drive on impulse.

Software with it only for installing to Windows or Mac.

Unit runs Linux and has no username or password set by default 
(according to manual on CD).


Using Puppy "Racy" 5.2.2 and pNeighborhood I can access NAS OK as 
pNeighborhood lists all directories and allows connect/disconnect and 
"show" of all of these.


Copied files to and fom NAS and PC no problem.

IP allocated to NAS by my router is 192.168.1.2 and according to 
pNeighborhood the NAS name is IOMEGA-07F695.


Under Linux Mint I cant connect getting error msgs such as 
"NT_STATUS_CONNECTION_REFUSED".


Have tried with Firefox, "Network" under Nautilus, which shows "Windows 
Network", Filezilla, terminal etc.


Could it possibly be that I'm running 64 bit Mint, whereas Puppy is 32 bit.

Any ideas

Thanks

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitoring aspx website, how ?

2011-12-08 Thread Ken Foskey
Just a general idea.  I used curl to do this a while ago.

Look at the field names and use the URL + ?user=you&pass=password. Store the 
cookie!  User and pass come from the id= in the HTML 

Access the page you really want using the cookie grabbed above and filling out 
any fields the same way as above.

I have had to navigate pages getting one page screeching a URL and then getting 
a second page.

Ken Foskey

On 09/12/2011, at 10:13 AM, "Voytek Eymont"  wrote:

> I have userid/password to an aspx based website,
> what can I use to script a login and get info or monitor for new info on a
> page ?
> 
> is wget the way to go for aspx site, or what's a good tool for that ?
> 
> 
> -- 
> Voytek
> 
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 
> 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitoring aspx website, how ?

2011-12-08 Thread Amos Shapira
The quoted HTML is missing the "" tag and looks like a partial
copy/paste from a larger HTML page.

The  tag is important in order to learn the URL to which the form is
submitted.

--Amos

On 9 December 2011 16:03, Voytek Eymont  wrote:

>
> On Fri, December 9, 2011 3:42 pm, Jeremy Visser wrote:
> > Thus spake Voytek Eymont:
>
> > If it uses HTTP auth, then just pass the --http-user and --http-password
> > options to wget.
> >
> > If it requires that you log in via a form and assigns a cookie, that's a
> > little more involved but certainly by no means impossible. Can't help you
> > based on the spartan information you have provided, however (more details
> > please!).
>
>
> Jeremy, thanks
>
> does this code from login box helps with more details:
>
> ==
> 
> Log In
> 
>
> 
> User
> Id: id="ctl00_cphLoginBody_Login1_UserName"
> name="ctl00$cphLoginBody$Login1$UserName"/> id="ctl00_cphLoginBody_Login1_UserNameRequired">*
> 
>
> 
>  for="ctl00_cphLoginBody_Login1_Password">Password: type="password"  id="ctl00_cphLoginBody_Login1_Password"
> name="ctl00$cphLoginBody$Login1$Password"/> id="ctl00_cphLoginBody_Login1_PasswordRequired">*
> 
>
> 
>  onclick='javascript:WebForm_DoPostBackWithOptions(new
> WebForm_PostBackOptions("ctl00$cphLoginBody$Login1$LoginButton", "", true,
> "ctl00$cphLoginBody$Login1", "", false, false))' value="Login"
> name="ctl00$cphLoginBody$Login1$LoginButton"/>
> 
>
> 
>  id="ctl00_cphLoginBody_Login1_PasswordRecoveryLink">Forgot your
> password?
> 
>
> ==
>
>
> --
> Voytek
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitoring aspx website, how ?

2011-12-08 Thread Voytek Eymont

On Fri, December 9, 2011 3:42 pm, Jeremy Visser wrote:
> Thus spake Voytek Eymont:

> If it uses HTTP auth, then just pass the --http-user and --http-password
> options to wget.
>
> If it requires that you log in via a form and assigns a cookie, that's a
> little more involved but certainly by no means impossible. Can't help you
> based on the spartan information you have provided, however (more details
> please!).


Jeremy, thanks

does this code from login box helps with more details:

==

Log In



User
Id:*



Password:*







Forgot your
password?


==


-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitoring aspx website, how ?

2011-12-08 Thread Jeremy Visser
Thus spake Voytek Eymont:
> I have userid/password to an aspx based website,
> what can I use to script a login and get info or monitor for new info on a
> page ?
> 
> is wget the way to go for aspx site, or what's a good tool for that ?

Depends on how you log on to the site. Nothing fancy about aspx, as long
as it speaks HTTP.

If it uses HTTP auth, then just pass the --http-user and --http-password
options to wget.

If it requires that you log in via a form and assigns a cookie, that's a
little more involved but certainly by no means impossible. Can't help
you based on the spartan information you have provided, however (more
details please!).




signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] monitoring aspx website, how ?

2011-12-08 Thread Voytek Eymont
I have userid/password to an aspx based website,
what can I use to script a login and get info or monitor for new info on a
page ?

is wget the way to go for aspx site, or what's a good tool for that ?


-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html