background image

DSH-G300

 

                          

D-Link Corporation

 

 

 

Page 

10 

 

 

How to use telnet and tftp 
How to use telnet 

Telnet is enable as default,use tool to access it. Example is 

Microsoft cmd tool. Device default ip is 192.168.0.50. 

 

How to use tftp 

Tftp can transfer a file from/to tftp server. 
This is an exanple(tftp server ip is 192.168.0.38). 
$ #get file from tftp server 
$ tftp -r get_file.txt -l get_file.txt -g 192.168.0.38 
 
$ #put file from tftp server 
$ tftp -r put_file.txt -l put _file.txt -g 192.168.0.38  

Summary of Contents for DSH-G300

Page 1: ...DSH G300 D Link Corporation Page 1 DSH G300 Smart Hub Manual Version 1 0 Dec 7th 2017 ...

Page 2: ...DSH G300 D Link Corporation Page 2 Table of Contents 1 PRODUCT DESCRIPTION 3 2 APPEARANCE 3 3 INSTALLATIONS CONFIGURATIONS 4 ...

Page 3: ...o Ethernet gateway device that uses a generic hardware design and can be deployed as different versions to fulfil different applications 2 APPEARANCE Top LED Status indicator Wireless button pairing un pairing Rear LAN port Micro USB Power jack Vdc 5V 2 A USB port Bottom Reset button ...

Page 4: ... yum y update yum y install gcc yum y install zlib devel openssl devel yum y install gcc c yum y install bison yum y install flex yum y install ncurses devel yum y install fakeroot yum y install patch The workstation we used to build the image is OS Version Fedora 22 32 bit version on AMD or Intel system OS Kernel Version 4 1 6 200 fc22 i686 GCC Version 5 3 1 20160406 Red Hat 5 3 1 6 You may use o...

Page 5: ...n 2 cd home john 3 tar zxvf DSHG300_A1_GPLv100b01 tar gz 4 cd DSHG300_A1_GPLv100b01 5 su ps switch to root permission 6 mkdir opt if opt is already exist skip this step 7 cp rf buildroot gcc463 opt 8 exit ps switch back to normal user permission 9 source setupenv Building the image make make make You are going to build the f w images Both the release and tftp images will be generated Do you want t...

Page 6: ...ute the default action How to install file into firmware Copy file into rootfs then rebuild gpl firmware by make release cd DSHG300_A1_GPLv100b01 cp test_lib rootfs lib make release Tips If there is not rootfs please using full steps to build firmware firstly How to add a mtd partition enable jffs2 support in kernel config Before this step please using full steps to build firmware ...

Page 7: ... JFFS2 summary support EXPERIMENTAL JFFS2 XATTR support EXPERIMENTAL Advanced compression options for JFFS2 Compressed ROM file system support cramfs Copy kernel config into boards folder cp config boards wrgn104 kernel config add mtd partition Modify mtd partition map in file DSHG300_A1_GPLv100b01 kernels MT7688_linux 2 6 36 x drivers mtd ralink ralink_bbu_spi c This is a sample which add a mtd p...

Page 8: ...unt mtd partition test with jffs2 type mount t jffs2 dev mtdblock 6 data Tips1 mtd partition must larger than 320k Tips2 we can add mtd partition by reduce upgrade mtd partition size but upgrade is used to upgrade firmware So we must make sure size of upgrade mtd partition always larger than firmware size Tips3 in gpl v100b04 we auto mount the data mtd partition to data while device boot up How to...

Page 9: ...DSH G300 D Link Corporation Page 9 Default password is null Enter firmware upgrade page Select firmware file and press Upload button ...

Page 10: ...it Example is Microsoft cmd tool Device default ip is 192 168 0 50 How to use tftp Tftp can transfer a file from to tftp server This is an exanple tftp server ip is 192 168 0 38 get file from tftp server tftp r get_file txt l get_file txt g 192 168 0 38 put file from tftp server tftp r put_file txt l put _file txt g 192 168 0 38 ...

Page 11: ...DSH G300 D Link Corporation Page 11 Console define Console connection type is Serial and speed is 57600 ...

Page 12: ...s connected Consult the dealer or an experienced radio TV technician for help FCC Caution Any changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate this equipment This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 t...

Reviews: