Posted: Mon Sep 14, 2020 18:27 Post subject: local web server
Apologies if this is not in the correct forum, or has been asked before (I never seem to have luck with the search).
I am using the x86 version v24-sp1 (07/26/0 std - build 9994
I am using DNSMasq for dhcp and under Additional DNSMasq Options I have
Yes, that is a wide range... BTW XX and YY are my ISP DNS servers.
This is used to provide free wifi to cell users in a cafeteria.
I am setting up a webserver for LAN use only, and would like to have all 1-word web addresses (e.g. "news" or "http://news") pass through the webserver and if not found there continue on to the ISP DNS servers for name resolution (or google search, etc.)
I believe I can add an additional DNSMasq option to handle this, but I do not need to install a DNS server (at least I think I do not) as the webserver can translate the 1-word name (if added to the apache host file).
I am willing to read if someone knows of a good tutorial to accomplish this.
OK, so I have seen suggestions to mount a USB stick and create my files in there, but I cannot seem to find the drive to mount it.
Using
Code:
dmesg | tail -5
I was able to see the USB at the time I plugged it in
Code:
Every 2s: dmesg | tail -5 2020-09-16 09:56:03
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access TOSHIBA silicon-power PMAP PQ: 0 ANSI: 4
So how do I mount that? I was expecting to see something similar to my regular drive
Code:
hda: KINGSTON SUV500240G, ATA DISK drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 512KiB
hda: 468862128 sectors (240057 MB), CHS=29185/255/63
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
What am I missing, this is a flash drive formatted FAT32 I have enabled USB support in the web gui