Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » VOIP etc » Voice Over IP - VOIP » VOIP Tech Chat » CIFS not connecting
Uniqs:
1520
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Adult version of Magicjack? »
« anyone using smartvoip.com with freepbx?  
atomicrabbit

join:2009-06-04

CIFS not connecting

I've set up CIFs on my tomato firmware, so that I can have the Bandwidth monitoring written to a folder on my computer's hdd.

When I check the CIFS configuration, it says:
Error mounting CIFS #1. Still trying...

Eat Me

join:2002-09-25
Sussex, NJ

Re: CIFS not connecting

Do you have file sharing enabled?

What about the windows firewall?
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

what should I allow in the firewall?

joako
Premium
join:2000-09-07
/dev/null
·AT&T U-Verse

Re: CIFS not connecting

said by atomicrabbit See Profile :

what should I allow in the firewall?
Disable it, not needed behind a router.
--
PRescott7-2097
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

jaoko, i disabled the firewall, made no difference. Still can't connect.

I've verified that I have file sharing working properly. I've tried connecting to my computer from another

@pandora, I'll look into that. Thanks for the link.
B
Premium,MVM
join:2000-10-28

Re: CIFS not connecting

I assume you read their FAQ?

I just pulled it up Googling.... good luck.

Why isn't CIFS working for me?

* Use an IP address. ex: \\192.168.1.5\share
* Use a regular account that requires username/password instead of a guest account.
* Make sure the account has read/write permission.
* Make sure NAT Loopback is enabled in Advanced/Firewall.
You also might want to make sure the share name is simple and short.

-- B
--
In a realm outside causality and function
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

* Use an IP address. ex: \\192.168.1.5\share YES
* Use a regular account that requires username/password instead of a guest account. YES
* Make sure the account has read/write permission. YES
* Make sure NAT Loopback is enabled in Advanced/Firewall. YES, it's set to Forward Only, but I tried setting it to All, and it still didn't work
atomicrabbit

join:2009-06-04
suggestions please :|
wierdo

join:2001-02-16
Tulsa, OK
·Future Nine Corpor..
·Teliax VOIP

Re: CIFS not connecting

said by atomicrabbit See Profile :

suggestions please :|
Check your computer's logs and see if it's even attempting to connect.
--
It's wierdo, not weirdo. Yes, I know that's not the 'proper' spelling of the similar english language word.
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

sorry for the late reply... nothing in the logs on my computer.
wierdo

join:2001-02-16
Tulsa, OK
·Future Nine Corpor..
·Teliax VOIP

Re: CIFS not connecting

Use wireshark or tcpdump to verify you're not seeing any CIFS traffic from the router. If still no, the only thing I can think of is a routing issue, like if your local network is 192.168.1.* and the WAN port has gotten an address in the same block.

I know at one point I had tomato working with CIFS.
--
It's wierdo, not weirdo. Yes, I know that's not the 'proper' spelling of the similar english language word.
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

I cannot seem to get WireShark to work on windows 7. I downloaded Wireshark portable and I keep getting this error:

Dumpcap has stopped working

and then when WireShark starts, it says:
The NPF driver isn't running. You may have trouble capturing or listing interfaces.

The Event Viewer details say this:
atomicrabbit

join:2009-06-04


1 edit

Re: CIFS not connecting

Nevermind, I figured it out, it has something to do with the beta version of WinPcap (v4.1 beta5); it doesn't seem to work with Windows 7. Although the previous stable version (v4.0.2) seems to work fine with Windows 7... go figure.

@wierdo, what would I be looking for in WireShark? would it specifically say "CIFS" somewhere?
pandora
Premium
join:2001-06-01
Outland
·ooma
·Future Nine Corpor..
·Comcast

Re: CIFS not connecting

You've gone from a Linksys alternative firmware question to a Microsoft beta operating system question. It is helpful to run a production OS when trying to get help for features.
--
"People demand freedom of speech as a compensation for the freedom of thought which they seldom use."
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

Click for full size
@pandora: I figured out why WIreShark wasn't working on my OS, if you read my last post, and I got it working now.

ok back to my problem. I figured out to filter "smb" requests and I think I found what the problem, is, I just don't know how to fix it.

It's giving me ERROR: STATUS_BAD_NETWORK_NAME
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

ok i figured it out. Apparently if I share the entire drive, the sub-directories are not shared to the router ??? I say "to the router" because if I try to access the shared drive from another computer, I am able to access the entire drive and all it's contents.

But for some reason I had to set the shared settings of the "tomato_bandwidth" directory separately from the i: drives sharing properties.

So now instead of giving the path \\192.168.1.XXX\i\tomato_bandwidth ... I set teh shared propeties of the tomato_bandwidth directory separately and set the shared path to \\192.168.1.XXX\tomato_bandwidth

Kinda stupid.

It works now. The shared directory gets mounted.
B
Premium,MVM
join:2000-10-28

Re: CIFS not connecting

Great detective work. I agree; since they prompt for "UNC" path they really should have accepted your original version. Did you try it both with and without the terminating slash?

-- B
--
In a realm outside causality and function
atomicrabbit

join:2009-06-04

1 edit

Re: CIFS not connecting

well if the second path worked without the terminating slash, then the first path should have as well.

And actually, if I add the terminating slash, after saving the settings, tomato automatically removes it
wierdo

join:2001-02-16
Tulsa, OK
·Future Nine Corpor..
·Teliax VOIP

said by atomicrabbit See Profile :

Kinda stupid.

It works now. The shared directory gets mounted.
Hah, that'll do it. Since tomato passes the input directly to the CIFS/SMB kernel module it can't handle subdirectories. To handle them it would have to pass only the initial //192.168.1.xxx/i to the module, then tell the logger to use /cifs1/tomato_bandwidth as the directory.

AFAIK, it's hardcoded to always use /cifs1, so you're stuck with only using the root of a share.
--
It's wierdo, not weirdo. Yes, I know that's not the 'proper' spelling of the similar english language word.
B
Premium,MVM
join:2000-10-28

Re: CIFS not connecting

They should really clarify that screen prompt, then. Maybe "UNC path to share root".

-- B
--
In a realm outside causality and function
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

said by wierdo See Profile :

To handle them it would have to pass only the initial //192.168.1.xxx/i to the module, then tell the logger to use /cifs1/tomato_bandwidth as the directory.
this unfortunately makes sense. Thanks for clarifying

said by B See Profile :

They should really clarify that screen prompt, then. Maybe "UNC path to share root".
Definitely agree!
pandora
Premium
join:2001-06-01
Outland
·ooma
·Future Nine Corpor..
·Comcast

I just double checked, and have CIFS working on my version of Tomato firmware. You may want to try the Tomato linked here - »www.linksysinfo.org/forums/showt···?t=60185

While the primary purpose of the Tomato in the link above is to add support for USB devices, it does adds a heck of a lot of features to Tomato and cleans up a lot of code.
--
"People demand freedom of speech as a compensation for the freedom of thought which they seldom use."
pandora
Premium
join:2001-06-01
Outland
·ooma
·Future Nine Corpor..
·Comcast

Click for full size
CIFS share on Tomato
My CIFS share on Tomato looks like the above. Account and network ID information was redacted.
atomicrabbit

join:2009-06-04

Re: CIFS not connecting

Are you using a domain?
pandora
Premium
join:2001-06-01
Outland
·ooma
·Future Nine Corpor..
·Comcast

Re: CIFS not connecting

It is a workgroup, not a domain. The connection works with or without the workgroup (domain) entered.

The connection you see in the snapshot is to a Buffalo Tech Linkstation Live with an account and password established for my Linksys router. The Linkstation I believe is using Samba to provide NAS on my LAN. The version of Tomato I am using is from my first post in this thread.

The Linkstation has a static IP set by my router based on its MAC address.
--
"People demand freedom of speech as a compensation for the freedom of thought which they seldom use."
B
Premium,MVM
join:2000-10-28

Re: CIFS not connecting

It couldn't be something as silly as that the share name has to actually be "share"? That's the only commonality I see so far...

-- B
--
In a realm outside causality and function
pandora
Premium
join:2001-06-01
Outland
·ooma
·Future Nine Corpor..
·Comcast


3 edits

Re: CIFS not connecting

The first share is to a Buffalo Tech Linkstation Live NAS device which runs SAMBA under Linux. The 2nd share is to a Windows Vista PC. Both work fine.

Edit to add: The user and password on the Windows PC are placebo, they do not reflect any real Windows user account. I just plug in a name and password to keep Tomato happy.
--
"People demand freedom of speech as a compensation for the freedom of thought which they seldom use."
Forums » VOIP etc » Voice Over IP - VOIP » VOIP Tech ChatAdult version of Magicjack? »
« anyone using smartvoip.com with freepbx?  


Wednesday, 09-Dec 17:52:22 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [198] Sprint Sued For Distracted Driving Death
· [99] AT&T Launching New 24 Mbps U-Verse Tier
· [81] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [66] Sprint Poised For A Turnaround?
· [63] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [51] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [44] Microwaving Your Innards Is Not 'Extreme'
· [43] AT&T Hints At Usage-Based iPhone Data Pricing
Most people now reading
· MicroSoft Discontinues Sale of Windows 7 Family Pack in US [Microsoft Help]
· Is sleeping similar to being dead? [General Questions]
· Adobe Flash Player version 10.0.42.34 [Security]
· Comcast refused to install 400' feet. [Comcast HSI]
· Windows 7 boot manager editing questions [Microsoft Help]
· Man Downloads Child Porn "Accidentally," Faces 20 Years [Security]
· whole house ups [Home Repair & Improvement]
· HoR, PoS and FoS [World of Warcraft]
· Warrior tank seem underpowered these days [World of Warcraft]
· [CATV] Unwelcome back, DVR Question. [Charter HSI/CATV]