opened conversation to speak in greeksΕλα φιλε μου Απο θεσσαλονικη υπαρχει ειναι στην αθηνα τωρα ανοιξε λεγεται xlab
I ended up doing it this way and I'm getting 27dBm ... (this is my actual rcS from drone)
#!/bin/sh
# This script runs when init it run during the boot process.
# Mounts everything in the fstab
mount -o remount +w /
mount -t tmpfs mdev /dev
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
mount -t sysfs sysfs /sys
mount -t proc proc /proc
mount -t tmpfs tmpfs /tmp
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
mknod /dev/caldata b 31 6
mount -t debugfs none /sys/kernel/debug
mkdir /var/run
mkdir /var/lock
mkdir /var/log
/sbin/klogd
/sbin/syslogd
insmod /lib/modules/3.10.49/compat.ko
insmod /lib/modules/3.10.49/crypto_blkcipher.ko
insmod /lib/modules/3.10.49/crc-ccitt.ko
insmod /lib/modules/3.10.49/arc4.ko
insmod /lib/modules/3.10.49/cfg80211.ko
insmod /lib/modules/3.10.49/mac80211.ko
insmod /lib/modules/3.10.49/ath.ko
country=`fw_printenv -n country`
if [ $country = "GB" ];then
fw_setenv country US
sleep 1
country=`fw_printenv -n country`
fi
if [ $country = "GB" ];then
insmod /lib/modules/3.10.49/ath9k_hw.ko cert_country=1
else
insmod /lib/modules/3.10.49/ath9k_hw.ko
fi
insmod /lib/modules/3.10.49/ath9k_common.ko
insmod /lib/modules/3.10.49/ath9k.ko
echo dji > /proc/sys/kernel/hostname
/etc/init.d/sysfixtime boot
iw dev wlan0 del
#iw phy phy0 set antenna all all
iw phy phy0 set antenna_gain 0
iw phy phy0 set distance 0
iw phy phy0 interface add wlan0 type managed 4addr on
iw wlan0 set power_save off
ifconfig wlan0 up
brctl addbr br-lan
ifconfig br-lan 192.168.1.2 netmask 255.255.255.0 up
dwifi sta start
clisrv &
ifconfig usb0 hw ether 60:60:1f:ff:ff:ff up
brctl addif br-lan usb0
brctl addif br-lan wlan0
ifconfig lo 127.0.0.1 up
#telnetd -l /bin/ash &
mkdir -m 0755 -p /var/run/vsftpd
/usr/sbin/vsftpd &
#/usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org &
djiled.sh &
iw reg set US
iw phy phy0 set retry short 1 long 1
iw phy phy0 set rts off
iw phy phy0 set frag 256
iw dev wlan0 set noack_map 0x00c0
iw dev wlan0 set txpower fixed 2700
If you don't want go straigh to 27dBm, set 2000 instead in last line.
Make sure you make same changes to your remote too.
Remote is at 192.168.1.1
Drone is at 192.168.1.2
After further investigation, it seems your script missed a CRDA update, my drone remained on GB mode, 17dbm while the script was running...
I can provide you with the messages log if you want
Also, why don't we try a test on reg get result instead of looking inside logs for CRDA ? if reg get <> BO, then reg set BO => done !
I'm on expert on script though !
Hey, I can't access the file on google drive. The following message "Sorry, the file you have requested does not exist." is displayed. Could you upload this script to Build software better, togetherI update setchan.sh to version 1.1 for user who have external booster for his RC
#Version 1.1
# 1) Add new user argument
# -ch for set channel number, eg. -ch 13
# -booster will limit RC tx power to 20Dbm for protect your external booster
# 2) Add Restart udhcp and apsvr
setchan.sh
Hey, I can't access the file on google drive. The following message "Sorry, the file you have requested does not exist." is displayed. Could you upload this script to Build software better, together
Remove .zip extension. Check line ending before use (I opened it with sublime on osx, says file has unix line ending though)
I think I will wait more till a specialist of you find a safer and easier way for ce users to make our signal stronger. Lots claimed bricked devices. Well done for research although
Excellent work OjczeNasz!
Anyone figured out how to use this method to P3P or P3A? There is no wifi, but there is USB. A year ago there was a legend about connecting to the telnet through USB, but nobody confirmed it.
Maybe for P3P and P3A we need just a driver and phantom will get IP (as phone and tethering) and we can 'get in' through the Telnet.
Saw your pdf . Nice work. What can I achive if I only edit djiled.sh?? 27dbm ?? Fcc instead of CE?? After soo many posts I think one should post a new and more complete step by step guide and the apps needed to complete .If your nifty with a soldering iron, I've published a PDF guide on how to unbrick them. You won't (can't) brick your device if you only edit djiled.sh though, if that makes you feel any more comfortable![]()
djiled.sh *I believe* runs on startup, so you can get it to call your own .sh script containing the changes you want to make. I.e. FCC instead of CE, ch 13, 27dbm etc...Saw your pdf . Nice work. What can I achive if I only edit djiled.sh?? 27dbm ?? Fcc instead of CE?? After soo many posts I think one should post a new and more complete step by step guide and the apps needed to complete .
Are you ce user too? I have sent my drone to dji and I am waiting to receive it to install argtek 10dbi . I want to do this mod but I want a step by step guide to avoid bricking a new drone. Send it back after 5 days I bought it and I don't want to brick it . A new guide would be appreciated a lotdjiled.sh *I believe* runs on startup, so you can get it to call your own .sh script containing the changes you want to make. I.e. FCC instead of CE, ch 13, 27dbm etc...
If I find the time over the next few days I'll put together another PDF for getting the thing to work in the first place
Did a distance test yesterday and managed to get out to 1800m with stock antennae!
I am CEAre you ce user too? I have sent my drone to dji and I am waiting to receive it to install argtek 10dbi . I want to do this mod but I want a step by step guide to avoid bricking a new drone. Send it back after 5 days I bought it and I don't want to brick it . A new guide would be appreciated a lot![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.