:D Automatic translation?
Printable View
:D Automatic translation?
I am going to try to be one can clearer:
With *Firmware* *1.7.5.6*, my *logitech* web cam *Quickcam* *Zoom* does not work:
when I go to the USB Web interface application, Web cam, I *click* on *preview* and I obtained following error message: *can' t connect to sever*
With the *firmware* *1.7.5.6* *CRC5*, I have no more this error message, but I just obtains a grey image
Samba:
I configure the *hostname* in the Web interface in IP CONFIG
Then Telnet my.router
The I type the following commands for automatic run samba in the starting up of the router:
*nvram* set bootCmd0 = " / usr / sbin / nmbd-D "
*nvram* set bootCmd1 = " / usr / sbin / smbd-D "
*nvram* committed
*reboot*
It works perfectly, but when I browse to the resource shared, I have slowing down or losses of connection on the sharing.
yes it's automatic translation..............
:(
At this moment I am running in AP mode because my ADSL modem (thompson 510) is also a router.Quote:
Originally Posted by Oleg
The WL500g does DHCP and gets a (static) IP from the ADSL modem. In the Modem configuration I also see the hostname I configured in the WL500g. I am able to connect to the WL500g with the hostname via my network. So that seems to be OK. I assumed that the SAMBA would also run in the AP mode, but also tried it in the "Home gateway" mode with the same result, as in no Hostname "WLServer" with share visable on "Workgroup".
I am not new to networking with routers but not very familiar with Linux. I bought the WL500g because of the SAMBA tweak and USB connectivity, so hopefully I will be able to get it running.
At the moment samba requires valid /etc/hosts file, which is not generated in the AP mode. You could manually start /init/rc.dnsmasq before samba to ensure valid /etc/hosts. After that it should work.
OK now it works!Quote:
Originally Posted by Oleg
I encountered another small problem before I got it to work:
If I start /init/rc.dnsmasq I receive an error message
but it still creates a Hosts file. But after reboot this file is gone. So I copied it to the USB Flash device and added the bootCmd "cp /mnt/usbfs/hosts /etc" before the Samba commands in nvram. Now after reboot I have the shares available! :)Code:~ # /init/rc.dnsmasq
dnsmasq: ISC dhcpd integration not available:
set HAVE_ISC_READER in src/config.h
Oleg thanks for the help!
You could also generate /etc/hosts using the boot cmds like this:
replace 192.168.1.1 and wl500g with right IP & nameCode:bootCmd0="echo 127.0.0.1 localhost locahost.localdomain > /etc/hosts"
bootCmd1="echo 192.168.1.1 wl500g >> /etc/hosts"
Hi Oleg, after your hint regarding the set command I got the samba part running very well. but my laser printer (HP 6L) does not work anymore , even after completely reinstalling it with the asus utility
I downgraded to the 1.7.5.6 and voila, printer running again (but no samba , of course, this here is my logfile:
Jan 1 01:00:13 wl500g syslog.notice klogd: klogd started: BusyBox v1.00-pre7 (2004.05.29-20:06+0000)
Jan 1 01:00:13 wl500g user.warn klogd: CPU revision is: 00024000
Jan 1 01:00:13 wl500g user.warn klogd: Loading BCM4710 MMU routines.
Jan 1 01:00:13 wl500g user.warn klogd: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Jan 1 01:00:13 wl500g user.warn klogd: Primary data cache 4kb, linesize 16 bytes (2 ways)
Jan 1 01:00:13 wl500g user.warn klogd: Linux version 2.4.20 (root@omnibook) (gcc version 3.0 20010422 (prerelease) with bcm4710a0 modifications) #24 Mon May 3 20:52:46 MSD 2004
Jan 1 01:00:13 wl500g user.warn klogd: Determined physical RAM map:
Jan 1 01:00:13 wl500g user.warn klogd: memory: 01000000 @ 00000000 (usable)
Jan 1 01:00:13 wl500g user.warn klogd: On node 0 totalpages: 4096
Jan 1 01:00:13 wl500g user.warn klogd: zone(0): 4096 pages.
Jan 1 01:00:13 wl500g user.warn klogd: zone(1): 0 pages.
Jan 1 01:00:13 wl500g user.warn klogd: zone(2): 0 pages.
Jan 1 01:00:13 wl500g user.warn klogd: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc
Jan 1 01:00:13 wl500g user.warn klogd: CPU: BCM4710 rev 0 at 125 MHz
Jan 1 01:00:13 wl500g user.warn klogd: Calibrating delay loop... 82.94 BogoMIPS
Jan 1 01:00:13 wl500g user.warn klogd: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Jan 1 01:00:13 wl500g user.warn klogd: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 01:00:13 wl500g user.warn klogd: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 01:00:13 wl500g user.warn klogd: Checking for 'wait' instruction... unavailable.
Jan 1 01:00:13 wl500g user.warn klogd: POSIX conformance testing by UNIFIX
Jan 1 01:00:13 wl500g user.warn klogd: PCI: Fixing up bus 0
Jan 1 01:00:13 wl500g user.warn klogd: PCI: Fixing up bridge
Jan 1 01:00:13 wl500g user.warn klogd: PCI: Fixing up bus 1
Jan 1 01:00:13 wl500g user.warn klogd: Initializing RT netlink socket
Jan 1 01:00:13 wl500g user.warn klogd: Starting kswapd
Jan 1 01:00:13 wl500g user.notice klogd: NTFS driver v1.1.22 [Flags: R/O]
Jan 1 01:00:13 wl500g user.warn klogd: pty: 256 Unix98 ptys configured
Jan 1 01:00:14 wl500g user.notice klogd: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Jan 1 01:00:14 wl500g user.warn klogd: Physically mapped flash: Swapping erase regions for broken CFI table.
Jan 1 01:00:14 wl500g user.notice klogd: number of CFI chips: 1
Jan 1 01:00:14 wl500g user.notice klogd: Flash device: 0x400000 at 0x1fc00000
Jan 1 01:00:14 wl500g user.notice klogd: Physically mapped flash: squashfs filesystem found at block 949
Jan 1 01:00:14 wl500g user.notice klogd: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 01:00:14 wl500g user.notice klogd: 0x00000000-0x00040000 : "pmon"
Jan 1 01:00:14 wl500g user.notice klogd: 0x00040000-0x003e0000 : "linux"
Jan 1 01:00:14 wl500g user.notice klogd: 0x000ed760-0x003e0000 : "rootfs"
Jan 1 01:00:14 wl500g user.notice klogd: 0x003f0000-0x00400000 : "nvram"
Jan 1 01:00:14 wl500g user.notice klogd: 0x003e0000-0x003f0000 : "config"
Jan 1 01:00:14 wl500g user.warn klogd: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
Jan 1 01:00:14 wl500g user.warn klogd: ip_conntrack_pptp version 1.9 loaded
Jan 1 01:00:14 wl500g user.warn klogd: ip_nat_pptp version 1.5 loaded
Jan 1 01:00:14 wl500g user.warn klogd: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 01:00:14 wl500g user.warn klogd: ipt_time loading
Jan 1 01:00:14 wl500g user.warn klogd: FAT: bogus logical sector size 61440
Jan 1 01:00:14 wl500g user.warn klogd: FAT: bogus logical sector size 61440
Jan 1 01:00:14 wl500g user.err klogd: NTFS: Unable to set blocksize 512.
Jan 1 01:00:14 wl500g user.warn klogd: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 01:00:14 wl500g user.warn klogd: Warning: unable to open an initial console.
Jan 1 01:00:14 wl500g user.warn klogd: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 01:00:14 wl500g user.warn klogd: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.10
Jan 1 01:00:14 wl500g user.warn klogd: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.10
Jan 1 01:00:14 wl500g user.warn klogd: PCI: Enabling device 01:02.0 (0004 -> 0006)
Jan 1 01:00:14 wl500g user.warn klogd: eth2: Broadcom BCM43XX 802.11 Wireless Controller 3.50.21.10 (Compiled in . at 20:53:00 on Jan 21 2004)
Jan 1 01:00:19 wl500g user.notice dhcp client: deconfig: lease is lost
Jan 1 01:00:21 wl500g user.notice dhcp client: bound IP address 81.71.122.42 from server 194.134.178.82
Jan 1 01:00:25 wl500g user.warn klogd: usb.c: USB device 2 (vend/prod 0x424/0x20cd) is not claimed by any active driver.
Jan 1 01:00:29 wl500g user.warn klogd: Vendor: USB-FS Model: TOSHIBA MK1016GA Rev: 0.01
Jan 1 01:00:29 wl500g user.warn klogd: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:29 wl500g user.warn klogd: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 01:00:29 wl500g user.warn klogd: SCSI device sda: 19640880 512-byte hdwr sectors (10056 MB)
Jun 11 00:30:22 wl500g user.notice dhcp client: renew IP address 81.71.122.42 from server 194.134.178.82
Jun 11 00:30:28 wl500g user.warn klogd: lp driver: get device ID
Jun 11 00:30:32 wl500g user.warn klogd: Register User Space Key Handler : 905 0
Jun 11 00:30:32 wl500g user.emerg NTP client: time is synchronized to 131.107.1.10
Any Idea ?
:confused: http://wl500g.dyndns.org/printing/Quote:
Originally Posted by ceesmf
Hello,
How to modify the name of shares in samba.
I would like to replace share and share$ by the other thing
Thank
Ignore this. Seems to be my ISP messing up...Quote:
Originally Posted by sibmad
Hi Oleg,
your previous help was great and my first wl500g is running great, including printer and samba
Now I'm trying to get samba running on a second wl500g , which is running in accesspoint mode while bridging to the first wl500g
Gluing the bits and pieces from this topic together i figured out the following
(AP has fixed ip 192.168.1.2)
nvram set bootCmd0="echo 127.0.0.1 localhost locahost.localdomain > /etc/hosts"
nvram set bootCmd1="echo 192.168.1.2 wl500g >> /etc/hosts"
nvram commit
reboot
Still no share showing up: what do I do wrong ??
It seemed that the share allways pointed to the first wl500g ; so I reflashed that one to the original (non samba) version, just to not get confused
Have you added smbd & nmbd to bootCmds? If so, have you checked contents of log files /var/log/smb & /var/log/nmb?
Everything works fine now , thanks again, now my next step will be to change the host name of both the accesspoints (have a third wl500 in the meantime )so I can distinguish between them, of course i will try it myself first with the help of the various topics here,
hope to get your help again if it works (again) not
Is it possible to put the output in a nice status website so we can view all the information easy in the lan (or wan). Eventually with an extra webserver ported on 81?Quote:
Originally Posted by Oleg
I'm trying to figure out how asus did it with the status page in asp but I don't have a clue how they get it working :(.