CentOS 5 Server :: Setting Up Tftp-server - Cisco Switch Configurations Can Be Sent
Feb 15, 2011I am trying to setup CentOS server 5 with tftp where the Cisco switch configs can be sent. I have the following:
[code]...
I am trying to setup CentOS server 5 with tftp where the Cisco switch configs can be sent. I have the following:
[code]...
I'm trying to TFTP router configurations to a server in the same local network without having to first make files in the server's TFTP directory . The transfer of a config file from router to server works perfectly if I make a file with touch and then chmod the file with 777. I found information that says to use the -c or --create option in the TFTP configuration file (/etc/default/tftpd-hpa) if you want TFTP to work without having to create the files first. The problem is, I have set this parameter and restarted TFTP , but it is not working.
Here is my /etc/default/tftpd-hpa file:
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
#TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_DIRECTORY="/tftp"
[code]....
I have tftp-server running on Centos 5. Clients which are on the same subnet as the server are able to get and put without problems. I have a client that is across the internet that is having trouble getting files from my tftp server. A tcpdump reveals that the client is requesting the same file over and over again. In /var/log/messages, I am see the following error repeated over and over until the client finally gives up.
localhost in.tftpd[12727]: tftpd: read: No route to host
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:
[Code]....
I'm trying to setup a network boot server and I'm having an issue with tftp. In the /etc/xinetd.d/tftp file, I added the "-v" (verbose) option to the server arg line so that i could figure out what was happening. When i looked at the /var/log/messages log file, it let me know that permission was denied to /tftpboot/nbi_img.
So, in short, my problem is that tftp isn't working because it doesn't have permission to /tftpboot/nbi_img. I can't figure out why. I stumbled upon a site where the user figured out a temporary fix to this issue and what he did was disabled the xinetd service and typed the following command:/usr/sbin/in.tftpd -l -v -v -s /tftpboot/nbi_imgWhen I do this as well, it works! but only until I restart and then I have to do that again. Is there a way to be able to fix that for good?
So I'm playing around w/ some Cisco equipment and needed a quick tftp server. Go to command line and type yum install tftp-server. I get No Package available! I can clearly see it here on the i386 repo. Any ideas?? In the meantime, I'm just going to upgrade this lil 600m laptop to CentOS 6 to quickly solve the problem but I thought it was curious.
View 4 Replies View RelatedI have router based on CentOS system with DHCP server. In one eth I have fiber converter attached in second one I have Cisco Catalyst switch connected. From the switch rest of ports are used to provide internet traffic to rest of network. I wanted to divide each segment of network (based on switch ports) that they don't see each other (it'll be good for me if someone will connect his wireless router to the network not to WAN by LAN port and start be a second DHCP server). So my network configuration:
CentOS:
DHCP with range 10.0.0.1/8 network
Switch ports
1 - CentOS DHCP
2 - second server
[code]....
Parts of networks I've assigned IPs 10.network_part.subnet_part.client_ip so I have addresses for clients: 10.1.1.2/8, 10.2.1.3/8, 10.3.0.4/8, etc ...
I've decided to give each port it's own VLAN like below:
Port / VLAN
1 / trunk
[code]....
I've configured switch ports by using:
(config)# interface Gi0/Port_Number
(config-if)# switchport access vlan VLAN_NUMBER
[code]....
And after doing that whole network stopped working. I think that cisco part of configuration is OK (at least customer ports, I don't know if there is any additional info needed for trunk port). On CentOS router I didn't setup anything regarding VLANs ...
I am trying to wade through the semanage jungle to get permissions for a tftp client. I followed the HowTos [URL] but I get the following at the client:
tftp> status
Connected to 192.168.1.101.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get hello.o4
tftp: hello.o4: Permission denied
I finally figured out that the firewall directives shown at the end of the HowTo refer to semanage although the options are stated incorrectly according to the man page for semanage. I did insure that the file hello.o4 in /tftpboot has read permission for everybody.
I'm Melvin, doing a hardware and networking course at Aptech, Kerala, India.
How to install IOS image (file.bin) via TFTP from Ubuntu to a Cisco 2600 router.
Please post the required steps to configure tftpd in Ubuntu.
And since it is insecure, please post recommendations to secure it.
Which folder will TFTPd use and what binary permissions to assign to this folder?
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:
a) do this
b) do that
I have been trying to accomplish this feat for about a week now, and I always seem to get a boot up error.
Here is how I call WinPe from my default file
Code:
I have successfully setup Apache,MySql,ftp, and a few other various packages.My question today is setting up an email server.I have past experience with sendmail,and procmail. However only on already installed,configured and working servers.I am trying to setup an email server from scratch.I have Centos 5.4 installed.
procmail.x86_64 3.22-17.1.el5.centos installed
sendmail.x86_64 8.13.8-2.el5 installed
Are those two packages the only ones I need to get a working email server setup? Also I have been trying to configure a procmailrc file for my server under /etc/, but I can't seem to find consistent documentation on how to set up a procmailrc file.I believe my iptables is set to block port 110 and 25 from outside connections. how to open those ports too.
Running CentOS release 5.4
We currently run a web server that allows FTP connections. I want to:
1. Disable FTP on our web server and require sftp only.
2. See if we can create a table of sites that are allowed to connect to the web server using sftp. Or should I just do this at the firewall?
What is the best method to preserve all my server configurations ? Everything from users, groups, samba configurations, fstab, BIND ...
To take it a step further, can I preload this configuration in my own custom build ?
I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type [URL] ) is only be [URL]. Usually as i know like the other websites [URL] it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self) ?
View 1 Replies View RelatedI'm looking for a purely standalone TFTP server that does not make use of inetd, can be run by non-root users (at non-root port numbers, of course), and if run as root, can do chroot and switch to a non-root user to shed root privileges.
View 3 Replies View RelatedI have built a Centos 5.3 server for a friend of mine that is being used as a NAS server. The server has 4 1TB drives in a RAID 5 configuration and a dedicated non raid system drive for the OS. My friend isnt very Linux literate so I need this bow to be relatively simple. I have worked most of it out but have a question with regards to remote reboot.
I need to be able to shut this device down through the power switch without human intervention (at the moment when the power switch is pushed the server asks to confirm shutdown) the server wont have a Monitor connected so this isn't practical. Is it possible to use the power switch to do an clean, immediate shutdown?
The other option is shutdown through a web page is this something that has been done before? I know he can do it through terminal by issuing a shutdown now command but as I said this guy wants something simple. I don't really want to explain everytime he needs to shut the Server down how to do it if he can just do it via a website or even with the power button.
I've setup a server for a small office (10 people) before with samba domain and file server with slackware. no problem there. now am tasked to setup a samba domain and file server for 300 users in 5 different locations. I am currently given a 1u rack server and I requested for 2x1tb drives that I plan to with RAID.
Some of the offices will be connected via VPN using sonicwall. Would it be ideal for remote users to login to the server in the HQ? Am not so familiar with how other companies setup their servers if they have multiple remote sites. Am also open to setting up servers in each site but because of the currently limited manpower, i'd rather have it close by so I can work on the server remotely if needed.
are there any things that I should consider or are there any good references on setting up a corporate server? the problem now is that the company uses google's email app as their email provider, I have gotten a host to do that already. But since they use email to share files, its not very efficient, hence the file server. But since there are a lot of mobile employees and employees in different sites, I would want them to be able to access those files being shared access the company or departments also.
Then I have to consider how to backup the files and other apps that the company will be using. SInce we will be primarily using linux, we would need to do virtualize some windows based apps that they are using now.
configurations steps of RHEL 5.0 Secondary DNS ...
View 1 Replies View Relatedi dont have much of command line experience with linux.can i setup opensuse server in such a way that i do all my configurations in gui mode and then switch the server to no gui mode as to free up resources.
View 9 Replies View RelatedI have a laptop that I use in three environments with different monitor setups.
1) At work, I have a 1280x1024 second monitor.
2) At home, I have a 1920x1080 second monitor.
3) In meetings and other places I have no second monitor.
Whenever I switch between these setups, which is at least several times each day, I have to manually change the monitor configuration. I use the nvidia-settings tools.
Granted, it only takes a few seconds. Is there a way to make the system smart enough to automatically detect when a monitor is added or removed, know *which* monitor is attached, and reconfigure the resolution and monitor layouts the way I want them?
i want to authenticate user (client) via switch to the radius server(CentOS)Can anyone tell me the authentication/authorization configuration that should be made in the switch (huawei) and the radius server(centos).Esp. the main files under /etc/raddb/ in the Server& the configuration to be made under the radius server template "test"( as of my case)...
View 1 Replies View RelatedI'm trying to install php / mysql on a remote Centos server.I've completed the installation stages but when I try ' php -v ' it comes up with these errors:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - libltdl.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
[code].....
I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?
View 6 Replies View RelatedI am still in Linux Diapers. I setup a CENTOS SELINUX box on an internal network. So the only way I know to access it's served pages is by navigating to 10.1.1.40 from a computer within the network. The issue is that I need to create sub-domains for this server but have no Idea how to go about doing that.
Is there a way of creating an alias for the dev server so I can type something like "washington" into the web browser of a computer on the internal network instead of 10.1.1.40? Can I use a fake FQDN that on this server and get served its web pages or do I need to register a FQDN?
Background: I am creating a series of websites using Drupal and am trying to implement the multisites functionality (all the sites are run from a single code base). To do this they suggest setting up each site on a sub-domain during development. We have not yet purchase the FQDN's for the sites so I have no FQDN to setup.
im trying to setup a tftp server on red hat linux. Ive gone through like all the instructinos online. And like i didnt get any errors or anything when typing the commands on the terminal but basically every time i try to test it i never works sooo im not really sure how im suppose to do this. basically i have a tftp in one ip address. And with another system with a different ip address using the client tftp ipaddr(server) and i try to get foo and it never connects and I tried a ping and they ping together just fine soo im just not sure if the tftp server is even on
View 2 Replies View RelatedI've tried to configure DRBL server to use Clonezilla and that is required me to setup DHCP, TFTP serversBut 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.
Feb 23 09:47:46 eth0-eth0 last message repeated 17 times
Feb 23 09:55:06 eth0-eth0 dhcpd: DHCPREQUEST for 192.168.1.53 from 00:13:20:36:26:28 via eth0: unknown lease 192.168.1.53.
[code]....
This is very old topic but despite of trying out all possible solutions available on net and forums, I am not able to setup tftp server on my 2.6.32.11-99.FC12.i686.PAE. Is there something obvious missing out.
/etc/xinet.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless
# workstations, download configuration files to network-aware printers,
[Code]....
I have been confused with the overall new 389 DS Server Setup.All I did upto now is:yum install 389-ds
and it did all the installation correctly.
All I need is Setup 389 Server with SSL.I did went through http://directory.fedoraproject.org/wiki/Howto:SSL but no Idea how to proceed.I am confused with the following points:
1. Do I also need to run setup-ds-admin.pl and setup-ds-dsgw too?
I tried running setup-ds-admin.pl and it stucked at :
The server 'ldap://389-ds.sap.com:45474/o=NetscapeRoot' is not reachable. Error: unknown error.
2. When Should I run the setupssl2.sh script? After running the above setup-* scripts?What changes I need to make on the script?
Is there a way to set a short cut so that you don't have to type out the full path to directories in CentOS? For example instead of typing out /var/log to get to log files, can you just type logs and have the OS know to cd to /var/log automatically?
View 7 Replies View Related