Tiny Core Extensions > TCE Corepure64

[Solved] Appbrowser permisson problems

<< < (2/3) > >>

Rich:
Hi kultex
This is how I bring up my wired connection:

--- Code: ---tc@E310:~$ cat /opt/eth0.sh
#!/bin/sh
pkill udhcpc
ifconfig eth0 192.168.1.35 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
echo nameserver 192.168.1.1 > /etc/resolv.conf
echo nameserver 68.237.161.12 >> /etc/resolv.conf
--- End code ---
It's a script that's in  /opt  and gets called by  /opt/bootlocal.sh
Modify the IP addresses to suit your needs if you decide to use this.

kultex:
@Rich   dmesg is not available, so I cannot run your command - I used the Network button from ControlPanel and checked there Use DHCP

and ifconfig  gives me for eth0 the addr 192.168.179.69 - so I am connected to the Internet

Rich:
Hi kultex

--- Quote from: kultex on August 07, 2023, 02:05:45 PM ---@Rich   dmesg is not available, ...
--- End quote ---
Then something is wrong. dmesg is part of busybox and always present
in  /bin.


--- Quote --- ... so I am connected to the Internet
--- End quote ---
Confirm that this command fetches the list file:

--- Code: ---wget http://tinycorelinux.net/14.x/x86_64/tcz/grabber.tcz.list
--- End code ---

kultex:
I set the permisson from the whole tce64 folder to

root:root   and  CHMOD 777    and everything works fine including dmesg / I am writing from midori....

I have no idea if CHMOD 777 for all files in the tce directory is a good idea or intended, but maybe I have to setup another legacy machine to find out the correct permissions....

Rich:
Hi kultex
I just checked my /tce directory and everything is tc:staff
with permissions set to 664 or 644.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version