GS3101

以普通用户登录GS3101管理界面

访问 http://192.168.1.1/cgi-bin/getGateWay.cgi 以打开Telnet功能

使用Telnet连接GS3101,账号admin,密码s2@We3%Dc#

在Telnet中运行以查看指定用户的密码,将user改为'Admin'查看超级管理员密码

cat /tmp/ctromfile.cfg | grep user

在Telnet中运行以查看宽带密码

cat ctromfile.cfg | grep '宽带账号'

U盘格式化为FAT32,簇大小为4K

在U盘上新建smb.conf,如果root用户不是admin,将smb.conf中所有的admin改为root用户的用户名

netbios name = server
workgroup = workgroup
max connections = 0
deadtime = 0
log file = /usr/osgi/%h.log
max log size = 50
guest ok = no
guest account = admin
#guest account = nobody
encrypt passwords = yes
security = user
load printers = no
[External USB Disk]
path = /mnt/usb1_1
browseable = yes
writable = yes
available = yes
admin users = admin
valid users = admin
write list = admin
[Internal Flash Disk]
path = /usr/osgi
browseable = yes
writable = yes
available = yes
admin users = admin
valid users = admin
write list = admin

将U盘插入GS3101,执行

smbpasswd -c /mnt/usb1_1/smb.conf -a $name
smbd -D -s /mnt/usb1_1/smb.conf