Go to advanced search

by david_1234
Thu Jul 02, 2020 7:35 am
Forum: Beginners
Topic: rc.local pritn to syslog and also to file
Replies: 4
Views: 177

rc.local pritn to syslog and also to file

Hello , I have 3 commnds that run on startup after each commnd I send a message to logger and see it in syslog I want also to send message to a log file how do I do this ? this is what I have done: rc.local '/home/pi/Documents/PPPstart.sh'>>/home/pi/Documents/log.txt & exit 0 PPPstart.sh logger "$Un...
by david_1234
Thu Jul 02, 2020 7:29 am
Forum: Networking and servers
Topic: route issues
Replies: 10
Views: 316

route issues

Hello , I have successfully connected a 4g usb modem to the pi using this gude : https://blog.enchose.com/raspberry-pi-runs-ppp-dial-up-quectel-ec25-lte-modem/ my question is about the last part of the route sudo ip route add 0.0.0.0/0 dev ppp0 when I add this part , and boot the device without ethe...
by david_1234
Tue Jun 30, 2020 7:58 am
Forum: Networking and servers
Topic: setuo usb modem to pi4 buster?
Replies: 2
Views: 147

Re: setuo usb modem to pi4 buster?

I have talk with the modem company and they send me a guide to add the usb driver but I can't understadn what to do 3.2. USB Serial Option Driver When the USB serial option driver has been installed in the module, the device files named as ttyUSB0, ttyUSB1, ttyUSB2, etc. will be created in directory...
by david_1234
Mon Jun 29, 2020 2:21 pm
Forum: Networking and servers
Topic: setuo usb modem to pi4 buster?
Replies: 2
Views: 147

setuo usb modem to pi4 buster?

Hello , I want to make my pi connectto the internet using usb EC25 I can see the device in the usb; lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc...
by david_1234
Wed Jun 24, 2020 2:03 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

it's seem like a good guide for first time user!

great!
by david_1234
Wed Jun 24, 2020 10:25 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

OK now it'w working and I can change the permission - thanks pi@raspberrypi:~$ sudo chmod 777 -R /mnt/mydisk/ camera/ lost+found/ pi/ pi@raspberrypi:~$ ls -ls /mnt/mydisk/camera/ total 4 4 drwxrwxrwx 2 pi pi 4096 Jun 24 13:20 ftp I will start work on the ftp server and see if It's work as planed now...
by david_1234
Wed Jun 24, 2020 9:26 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

this is what I'm getting

Code: Select all

pi@raspberrypi:~$ sudo mkfs.ext4 /dev/sda1
mke2fs 1.44.5 (15-Dec-2018)
/dev/sda1 contains a vfat file system labelled 'UBUNTU 16_0'
Proceed anyway? (y,N) y
/dev/sda1 is mounted; will not make a filesystem here!
by david_1234
Wed Jun 24, 2020 6:37 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

I don't know - this is why I asking for help in the forum. I never had to add exteranl to PI and before I was told to use this explain https://www.raspberrypi.org/documentation/configuration/external-storage.md but you tell me to use ext4 witch is not in the explain I hav edone this at before sudo m...
by david_1234
Wed Jun 24, 2020 6:17 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

so to use this option? If your storage device uses an NTFS file system, you will have read-only access to it. If you want to write to the device, you can install the ntfs-3g driver: sudo apt update sudo apt install ntfs-3g I really don't understadn this , so this is why I'm asking all this question ...
by david_1234
Tue Jun 23, 2020 3:53 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

this is what I did: sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL UUID NAME FSTYPE SIZE MOUNTPOINT LABEL MODEL sda 14.7G DataTraveler_3.0 FAB9-BE75 sda1 vfat 14.7G /mnt/mydisk UBUNTU 16_0 mmcblk0 14.4G 4BBD-D3E7 גגmmcblk0p1 vfat 256M /boot boot 45e99191-771b-4e12-a526-0779148892cb גגmmc...
by david_1234
Tue Jun 23, 2020 5:26 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

I got lose on the way ,what to do ....

I don't mind start from scratch

connect a 16GB disk on key to the pi
I want to be able to use it (copy and write files to it).

so this is what I do
please if you can write in steps what to do , it will be great

Thanks ,
by david_1234
Mon Jun 22, 2020 3:16 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

sure

Code: Select all

pi@raspberrypi:~$ mount | grep mydisk
/dev/sda1 on /mnt/mydisk type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iochar
set=ascii,shortname=mixed,errors=remount-ro)
by david_1234
Mon Jun 22, 2020 3:09 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

can you explain the question ?
what command do I need to run to give you an answer?
by david_1234
Mon Jun 22, 2020 2:49 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

pi@raspberrypi:~$ sudo chown -R pi /mnt/mydisk/camera chown: changing ownership of '/mnt/mydisk/camera/ftp/files': Operation not permitted chown: changing ownership of '/mnt/mydisk/camera/ftp': Operation not permitted chown: changing ownership of '/mnt/mydisk/camera': Operation not permitted starng...
by david_1234
Mon Jun 22, 2020 1:20 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

well it doesn't :-) I have try both commnds , and it still own by user root and can't copy files because only root have permission to write sudo chmod -R a+w /mnt/mydisk/camera/ pi@raspberrypi:~$ ls -lh /mnt/mydisk/camera/ total 8.0K drwxr-xr-x 3 root root 8.0K Jun 22 09:13 ftp what is missing ? tha...
by david_1234
Mon Jun 22, 2020 12:26 pm
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

ok
when I format , i use this commands

Code: Select all

sudo mkfs -t ext4 /dev/sda1
is there any way to check it and make sure ?

if it's not good
tell me what to do and I will format it again

Thanks ,
by david_1234
Mon Jun 22, 2020 10:59 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

Re: ftp server - unable to upload files

I have try it -didn't work please take a look : sudo -R a+w /mnt/mydisk/ sudo: invalid option -- 'R' usage: sudo -h | -K | -k | -V usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user] usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command] usage: sudo [-AbE...
by david_1234
Mon Jun 22, 2020 9:54 am
Forum: Beginners
Topic: how to format exteranl usb 16gb ?
Replies: 17
Views: 525

Re: how to format exteranl usb 16gb ?

thanks this is what I have ask at the topic "how to format 16GB usb" and use it I have done like it said in the command and now it's working as I said never had to add exteranl storage , didn't know the commands what need to be done Thanks! I do have related question now I can see the usb as pi@rasp...
by david_1234
Mon Jun 22, 2020 7:14 am
Forum: Beginners
Topic: ftp server - unable to upload files
Replies: 30
Views: 856

ftp server - unable to upload files

hello , I have install ftp server from this page: https://www.raspberrypi-spy.co.uk/2018/05/creating-ftp-server-with-raspberry-pi/ it's online , I can enter it using filezilla \ cmd but when I try to upload a file I get error from filezile Critical file transfer error 553 could not create file and f...
by david_1234
Mon Jun 22, 2020 5:58 am
Forum: Beginners
Topic: how to format exteranl usb 16gb ?
Replies: 17
Views: 525

Re: how to format exteranl usb 16gb ?

why?
by david_1234
Mon Jun 22, 2020 5:57 am
Forum: Beginners
Topic: ssh block from outside netwrok?
Replies: 2
Views: 160

Re: ssh block from outside netwrok?

I thought also ,
but it's ok
I have repalce the pi with another image with the same address ,didn't change anything in the router
and I can enter the pi from outside
by david_1234
Sun Jun 21, 2020 2:57 pm
Forum: Beginners
Topic: ssh block from outside netwrok?
Replies: 2
Views: 160

ssh block from outside netwrok?

Hello , is there any command that block ssh connection not from local netwrok ? I have a pi that run server on 2 ports 8080 8081 the routing in the router are OK when I enter the public ip with port 8080 \ 8081 - I see the server html page when I enter port 5900 - I enter the pi using VNC but when I...
by david_1234
Sun Jun 21, 2020 2:30 pm
Forum: Beginners
Topic: how to format exteranl usb 16gb ?
Replies: 17
Views: 525

Re: how to format exteranl usb 16gb ?

I have found this Get the drive’s path using $ sudo fdisk -l Enter fdisk to edit the disk’s partition table: $ sudo fdisk /dev/sda* Enter the following options when prompted: n, p, 1, <enter>, <enter>, w Format the partition: $ sudo mkfs -t ext4 /dev/sda1* Create a directory to use as the filesystem...
by david_1234
Sun Jun 21, 2020 2:02 pm
Forum: Beginners
Topic: how to format exteranl usb 16gb ?
Replies: 17
Views: 525

Re: how to format exteranl usb 16gb ?

yes didn;t understand what to do again - this is the first time I'm adding exteranl , don't know how to use \ what options to give \ what I need to have\do if you can explain fot a first timmer - it will be great ! this is what I did: pi@raspberrypi:~$ sudo parted -l Model: Kingston DataTraveler 3.0...
by david_1234
Sun Jun 21, 2020 1:28 pm
Forum: Beginners
Topic: how to format exteranl usb 16gb ?
Replies: 17
Views: 525

Re: how to format exteranl usb 16gb ?

Ok ,
I have download it

can you explain to me what to do now ?
how to format the disk ?

Thanks ,

Go to advanced search