TechnicalDebugging CIFS / samba on Windows

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Peter (BOUGHTONP)   
 To:  patch     
41764.24 In reply to 41764.23 
No DHCP server, afaik. I did originally intend to setup DHCP+DNS on my Pi but didn't have time initially and then everything was working with 169.254 so I just left it.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Peter (BOUGHTONP)      
41764.25 In reply to 41764.24 
Do you still not have a phone line?
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  patch     
41764.26 In reply to 41764.23 
Aye, s'what I was thinking.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Peter (BOUGHTONP)      
41764.27 In reply to 41764.17 
Can you connect to anything else on the Ethernet adapter? Config looks a bit... nonstandard.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  koswix     
41764.28 In reply to 41764.27 
Don't be shocked.
+1/1
 Reply   Quote More 

 From:  patch  
 To:  graphitone     
41764.29 In reply to 41764.26 
The network engineer in me thinks that 169.254 should never be used so that it's obvious when they crop up that something is wrong. But then there's at least one example of paid work that I've done which uses them for the wireless access points VLAN. Such a cowboy.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Peter (BOUGHTONP)      
41764.30 In reply to 41764.24 
Give it a proper IP address and see if that helps.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  patch     
41764.31 In reply to 41764.29 
Definitely some totally unconventional setup going on here, which is no surprise.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  koswix     
41764.32 In reply to 41764.27 
I can SSH to the Pi via it - at present only the three devices are connected.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  ANT_THOMAS     
41764.33 In reply to 41764.25 
Hey, I'm still celebrating finally having a device that does 4G. :C
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  Chris (CHRISSS)     
41764.34 In reply to 41764.30 
Yep, gonna have a go at setting up the Pi as a DHCP server, but probably tomorrow when I'm (hopefully) less tired.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  ANT_THOMAS     
41764.35 In reply to 41764.31 
There's nothing deliberately unconventional - it really was just get the NAS connected enough to shunt files around and make space on the main machine and I'll set things up properly later, then it's always just been oh it's working good enough for now.

I fecking hate "good enough for now". :@

0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Peter (BOUGHTONP)      
41764.36 In reply to 41764.34 
Doesn't whatever router you're using to connect to the internet have a DHCP client on it?
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  patch     Peter (BOUGHTONP)      
41764.37 In reply to 41764.29 
Yeah, as I said somewhere above, the 169.254.X.X range is the automatic private IP addressing, usually only used by default when a client machine can't connect anywhere and gives itself an address.

I can imagine PB using it for his network address though. :C

Making sure everything's on the same subnet should be the first thing to check, unless PB's got a huge amount of hosts or some weird routing somewhere, it should only need a /24 range, looking at the ipconfig, he's got a /16 on the windows box.

PB - what're the IP settings on the NAS?


 
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Peter (BOUGHTONP)      
41764.38 In reply to 41764.35 
Get a proper router and use that as your DHCP server. Don't arse about with other devices.

Do it a more conventional way and it'll no doubt work properly.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  graphitone     
41764.39 In reply to 41764.36 
The router is my mobile, using wifi tethering.

The NAS and Pi are on ethernet only, connected via a dumb switch.

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  graphitone     
41764.40 In reply to 41764.37 
The NAS is 169.254.184.206 and matching 255.255.0.0 subnet (again, this was working fine for six months).

You'll be delighted to know that when I setup DHCP I'm gonna use class A. :>

0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Peter (BOUGHTONP)      
41764.41 In reply to 41764.35 
I've actually done what you're doing years ago and I was able to use a more conventional network setup.

Probably easier using static IPs.

I had a small access point in client mode attached to the network via a cable and then wireless to the phone. This meant whenever the tethering was enabled the network got Internet access. Meant only a single wifi connection to the phone to get everything online.
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Peter (BOUGHTONP)      
41764.42 In reply to 41764.40 
 :-O

 :-O~~~
0/0
 Reply   Quote More 

 From:  patch  
 To:  graphitone     
41764.43 In reply to 41764.37 
APIPA uses a /16 mask by default, so that's no biggy. If you can ping and ssh, then you know the connectivity is there, so it's either something in the PCs network adapter, or the NAS itself. Perhaps try deleting the NIC from the PC and then adding it again after a reboot. That might (might!) set it up with the default settings.
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–52

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats