Networking, Samba, IoT, and Internal DNS

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

39 Terms

1
New cards

What is the purpose of connecting a second router to an existing one via Ethernet?

To create a new subnet or isolated network, expanding or segmenting the original LAN.

2
New cards

What is the default private IP range for a home or small network?

192.168.x.x

3
New cards

Why do we use “x” when describing an IP address (e.g., 192.168.x.x)

We use “x” as a wildcard placeholder to represent variable octets in an IP address.
It means that any value in that range (0–255) can go there

4
New cards

What does a "double NAT" problem refer to?

When two routers perform network address translation, isolating devices across subnets.

5
New cards

What command shows your network interfaces and IPs in Ubuntu?

ip a or ip addr show

6
New cards

What is the default gateway typically used for?

It’s the IP address your device uses to send traffic to other networks or the internet.

7
New cards

What command installs Samba on Ubuntu?

sudo apt install samba

8
New cards

What is the Samba configuration file path?

/etc/samba/smb.conf

9
New cards

How do you test Samba configuration for syntax errors?

testparm

10
New cards

What command restarts the Samba service after editing the config?

sudo systemctl restart smbd

11
New cards

How do you add a new Samba user?

sudo smbpasswd -a <username>

12
New cards

What is the purpose of workgroup in Samba?

It identifies the Windows network group the server belongs to (default: WORKGROUP).

13
New cards

What ports does Samba use?

TCP 139, 445 and UDP 137, 138

14
New cards

Where are Samba shared folders typically located?

Commonly under /srv/samba/ or /home/<user>/share

15
New cards

What does “IoT” stand for?

Internet of Things — networked devices that communicate via local or internet connections.

16
New cards

What tool can you use on Android to test connectivity to your network?

The “Ping Tools” or “Network Utilities” app.

17
New cards

What does a successful ping test indicate?

The device and target are connected and reachable on the same network.

18
New cards

Why might a phone fail to connect to a shared folder?

It’s on a different network/subnet or the Samba share permissions are restricted.

19
New cards

What’s the command to see if a device is connected to your LAN?

arp -a or use your router’s device list.

20
New cards

What is DNS used for?

Translating human-readable names (like fileserver.lab.local) into IP addresses.

21
New cards

What command installs the DNS server package?

sudo apt install bind9

22
New cards

What is the configuration file that defines your custom DNS zones?

/etc/bind/named.conf.local

23
New cards

What command checks DNS zone syntax?

sudo named-checkzone <zone_name> <zone_file>

24
New cards

What command restarts the BIND9 DNS service?

sudo systemctl restart bind9

25
New cards

What file holds the forward lookup zone data?

/etc/bind/db.lab.local

26
New cards

What file holds the reverse lookup zone data?

/etc/bind/db.10.168.192

27
New cards

What does a forward lookup zone do?

Maps hostnames → IP addresses (A records)

28
New cards

What does a reverse lookup zone do?

Maps IP addresses → hostnames (PTR records)

29
New cards

What command tests name resolution using your own DNS server?

dig @127.0.0.1 fileserver.lab.local +short

30
New cards

What command tests reverse DNS resolution?

dig -x 192.168.10.100 +short

31
New cards

what does it mean if named-checkzone says “OK”?

Your DNS configuration syntax and zone files are correct.

32
New cards

What’s a common cause of “no current owner name” error in BIND?

Missing $ORIGIN or improper indentation/blank lines in the zone file.

33
New cards

What command reloads BIND9 after editing configs?

sudo systemctl reload bind9

34
New cards

amba share visible but “permission denied”?

Check folder permissions (chmod 777 <folder> for testing) and Samba user access.

35
New cards

DNS doesn’t resolve names?

Check /etc/bind/named.conf.local for correct zone path and syntax.

36
New cards

Reverse lookup fails but forward works?

Verify the PTR record in the reverse zone file and remove typos (like “in-addr-.arpa”).

37
New cards

DNS won’t start after editing zone file?

Run sudo named-checkzone to identify syntax or missing parentheses.

38
New cards

Devices can’t ping each other?

Ensure they are on the same subnet and no firewall is blocking ICMP

39
New cards

How to clear and reload network configurations quickly?

sudo netplan apply