Fedora Servers :: TFTP Case Insensitive To File Name Requested
Jun 19, 2010
I am downloading some files via tftp from the server (call it my server) and I need the server to be case insensitive to the file names requested. That is If I request "SoMe.TTL" and the actual file name is "some.ttl" it should send "some.ttl" back! Right now it is case sensitive and is a pain in the but because some windows clients upload files to that directory and the names can have any case. Furthermore, the file request mechanism must allow the user to input the required file name, hence the user can write using any case. Can the tftp-server solve cases by it's own? How about dnsmasq's internal tftp server? Ok, maybe I wasn't explicit above:
I need to make the fedora tftpd-server Case Insensitive!
Recently I've been migrating my development environment to ubuntu (desktop edition, because this is not a server, is just my computer) and I've been having some problems with apache case-sensitive (I'm an absolute beginner with it). I want to make apache case-insensitive, but I didn't find a complete and easy to follow solution online more than doing this:
From the command line, type sudo su to get root privileges. nano /etc/apache2/mods-available/speling.conf Type CheckSpelling on and hit ctrl-x, y to exit and save the file. type a2enmod and then speling and hit enter. type /etc/init.d/apache2 reload to reload apache. Mistype a url to test it.
I found that here: [URL]. It worked for some things but I'm still having a lot of problems with capitalization. I don't wanna go back to windows an ISS. BTW I'm using ubuntu 10.10 desktop edition 32-bits, and I've not moved any apache configuration more than that described above.
I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.
I'm rsync'ing a bunch of files between a Windows and a Linux system. Since not all Windows care about case, some of the files on the Windows system no longer have the same casing as they had on the Linux system. But rsync now treats these files as different and uploads a new copy.
The issue which I am having is that, when it does the search for the correct row to be inputted into valuecheck, it will input the value as written in the database, which is in Uppercase. For this case, if I type in stupid for $Title and jerlyn for $Author, it searches the correct row, but the awk will print "STUPID" into the variable as that is what is written in the database. So how can I make my if statement case insensitive? Currently it reads like this:
Code: if [ $Title = $valuecheck ] ; then which means if [stupid = StUPiD ] ; then
How can I make the if statement it case insensitive to allow it to display "HOHOHO"
I'm using Centos 5.4 and Subversion 1.4.2. I use MySQL to authz user when connect to SVN. In MySQL database, I have a username 'Harry', and in the file access control, I typed username 'harry'. Now I just can login with 'harry' user, cannot with 'Harry'. How can I check lower case on SVN before it requires authz, I tried to use AuthzForceUsernameCase Lower but apache cannot start.
This is my subversion.conf file <Location /> DAV svn SVNParentPath /svn SVNListParentPath on AuthType Basic AuthName "Authorization Realm" AuthzSVNAccessFile /var/svn/svnauth AuthMYSQLEnable on AuthMySQLHost mydomain AuthMySQLUser username AuthMySQLPassword password AuthMySQLDB db AuthMySQLUserTable user AuthMySQLNameField userid AuthMySQLPasswordField passwd AuthMySQLPwEncryption md5 Require valid-user </Location>
Is there a way I can mount NTFS and VFAT partitions and make them case-insensitive? Somehow I installed Linux this time around and it's all case sensitive. Argh.
You are running tftpd as an on demand server i.e. it is only fired up when it is needed. Services run by xinetd are always run on demand. Have you actually tested if tftp on another system can access your PC i.e.
I'm trying to install Fedora 12 from a DVD created by an iso I downloaded. When the install gets to the point of actually installing files, I get a message saying that it can't find 'authconfig-gtk-6.0.0.-2.fc12.i686.rpm'. I looked at the DVD for that file and it isn't there. I found 'authconfig-gtk-5.4.13-1.fc12.i686.rpm'. Any ideas how to fix this? The DVD passed the media check at the beginning of the install. I'm not exactly a newbie in Linux as I have some experience with it.
i used my windows box to connect to ftp(fed box) and i keep getting an error saying "The requested name is valid, but no data of the requested type was found." does anyone know why i cant connect?
I'm quite new to xen and only have access on a production box (which happens to be debian) so I am unable to employ my hack it attitude in case i bring the whole thing down. When i run xm list it displays my domains but my states are rather confusing.
Some of my files and directories were mysteriously disappearing and some of my shell scripts were failing after the upgrade to Fedora Core 12. After some debugging I found out that file name globbing is no longer case sensitive in Fedora Core 12, that is
rm -rf [a-z]*
now also trashes all files and directories starting with [A-Z], which explains the removed files and directories
and
ls [a-z]*
now also includes files and directories starting with [A-Z], which caused my shell scripts to fail.
When I try to pxe boot a Sun X4100 (which actually has a RHEL OS on it right now) I get the message TFTP open timeout. All traffic is allowed for port 69 udp in both directions. I do get a dhcp address. I see that both on the server and the client it gets an IP. After that I get this message in the logs:
Do we really need the lines if I am allowing any machine to connect? And I have only 1 network card. This is acting as a dedicated TFTP server.I ask as I get an error on the get and put commands as below:
tftp> get xxx.txt tftp: error received from server <File not found> tftp: aborting
However although it gives an error it DOES GET the file.The put command however does NOT put the file. I have nobody / nogroup setup for the directory permissions as well.
tftp> put .vimrc tftp: error received from server <File not found> tftp: aborting
In Jaunty (9.04) I've setup a small (eleven-terminal) ltsp network at the local school. It handled around 6600 working hours with ease. Now I've upgrade the server to Karmic Koala (9.10) and it just stopped working. 1) The clients have PXE NICs 2) They get the proper IPs from the DHCP server and respond appropriately to changes in the DHCP configuration files. 3) DHCP server also points the clients to filename=/ltsp/i386/pxelinux.0 4) When the clients try to download the pxelinux.0 over tftp they just timeout 5) /etc/inetd.conf has an entry like tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot 6) The file /var/lib/tftpboot/ltsp/i386/pxelinux.0 exists on the server
I'm lost at all these configuration files and protocols.
I have checked several tutorial sites, to no avail. I can't seem to get Winpe 3.0 to boot over tftpd/pxe.Has anyone successful done this using Ubuntu 9.10?, or am I just wasting my time trying.
I have it working fine when tftp and dhcp are installed on the same server but when trying to forward to a remote tftp it does not work. Dnsmasq insist on giving its local ip.I have added to config:dhcp-boot=pxelinux.0,pxetest2,192.168.0.130and I tried with and without the original hcp-boot=/var/lib/tftpboot/pxelinux.0Not much on this topic on the google nor on the dnsmasq homepage.
I've tried to configure DRBL server to use Clonezilla and that is required me to setup DHCP, TFTP servers.But I've gotten a lot of errors from them - so please look at my attachments from /var/log/messages and dhcpd.conf - help me to find out what are wrong with them.
I want to install Ubuntu LTSP on top of an already existing system. However, I want to use a different DHCP and TFTP server. Do I simply just install 'ltsp-server-standalone' with apt and run 'sudo ltsp-build-client', stop the DHCP and TFTP server and stop them from starting automatically? Would I then just copy over the pxelinux.cfg/default file from /var/lib/tftpboot along with the initrd.img and vmlinuz images to the TFTP server?
Edit: Do I need to actually copy the whole /var/lib/tftpboot/ltsp directory over to the TFTP server?
I am trying to transfer a file using tftp between two PC's. I have installed tftp-server, tftp, xinetd on both PC's. I am unable to transfer the file between the two systems. although the self transfer is working on both the system. I am getting the error "Transfer timed out"
cat /etc/xinetd.d/tftp # default: off # description: The tftp server serves files using the trivial file transfer
my Apache2 was running fine for a while. Bur yeserday when I tried to start it again after a couple of weeks of vacation, I got the message:
* Starting web server apache2 [Sat Mar 20 10:48:12 2010] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
I do 'mkisofs -iso-level 1 -o image John Smith.txt'. Only an example. When I mount image, ls outputs john_smi.txt. So it has shorten to 8.3 and translated ' ' into '_'. This is in accordance with the manual, although it doesn't say the conversion will be done.
Quote:
-iso-level level ......................... With all iso9660 levels from 1..3, all filenames are restricted to upper case letters, numbers and the underscore (_). ...........................
However, as it did not reject the file name, it should have converted it to all upper case, it seems to me. And -iso-level 2|3 does the same thing.
Code:
root@darkstar:~# mkisofs -iso-level 1 -o image John Smith.txt Total translation table size: 0 Total rockridge attributes bytes: 0 Total directory bytes: 0
I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my
/etc/xinetd.d/tftp file for host2 service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -c -s /tftpboot #disable = yes disable = no per_source = 11 cps = 100 2 flags = IPv4 } And permissions on /tftpboot are 777 [root@LinuxServer /]# ls -ld /tftpboot/ drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/ [root@LinuxServer /]# ls -l /tftpboot/ total 16 -rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test -rwxrwxrwx 1 root root 12 Jan 5 06:02 test2
And the command which I am using is : [root@LinuxServer /]# tftp localhost -c put new_test Error code 0: Permission denied And ya here is /etc/sysconfig/selinux file is as under : # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=permissive # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
Is there a trick to allowing a TFTP connection to create a file? I can successfully tftfp (from a cisco router) if I touch the file first, but otherwise, (/tftpboot has been chmoded to 777) I get [TFTP: error code 2 received - 20334]
I am fairly new to ubuntu server, I want to setup a tftp server to mount a new kernel in a DaVinci platform. I was following the guide in this page [URL]..docs/linux_tftp, but accidentally I remove the xinetd.conf file. So I think that maybe removing and reinstalling xinetd the problem will be solved, but instead of that I can't completely remove xinetd and the follow message is print in the terminal
Removing xinetd ... invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found. dpkg: error processing xinetd (--remove): subprocess installed pre-removal script returned error exit status 100 invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 100 Errors were encountered while processing: xinetd E: Sub-process /usr/bin/dpkg returned an error code (1)
with that problem I can't start the service or stop it, I am blocked in the configuration of tftp server.
Device/Special file Clairification Requested.I'm reading a short article on Device/special files because it is related to VFS. This article has this paragraph that has to many pronouns in it to get an understanding of. URL..."In short, a device file (also called as a special file) is an interface for a device driver that appears in a file system as if it were an ordinary file. This allows software to interact with the device driver using standard input/output system calls, which simplifies many tasks."
What does a Device file have to do with the Application and the Driver communicating? Wouldn't the order of data transfer be , Application to driver and then to Device file?
I'm trying to find out which one is safer when it comes down to recovery process in case of a drive failure
A RAID5 created in mdadm or a Stripe RAID created on pure LVM
the RAID is purely for data storage for a SAMBA server, the OS will reside on its own drive.Ideally the RAID physical hard drives should be re-build on another machine in case of catastrophic server failure (mother board problem, or any other random problems as an example)I can't decide which of the 2 software RAID method is more convenient and safest, don't care about performance, it'll be a dedicated server for mass storage, it's going to mirror other 3 file servers on fakeRAIDs (dmraid), it's simply a redundant backup for the backups
The important goal here is portability.from what've read it appears that LVM might be more portable?but according to some dated (2009) info the mdadm seems to be a bit buggy when it comes to rebuilding the array, yet LVM doesn't appear that safe either which one would you pick for ease to rebuild on catastrophic failures?