Best of Technical Support
I am trying to make the system run on my cable modem. I have two other computers running on it, but they are Windows-operated. I have entered all the information that is needed, IP, Gateway, subnet mask, as well as host and domain. But every time I try to run Netscape and go to a web page, it gives me an error message that the web server cannot be found. I cannot seem to figure out what the problem might be; I have tried to follow all the documentation I could get my hands on. Hopefully you can help me. —Chirag Jay Patel, email@example.com
It looks like you have a routing problem. Try this command:
route add default gw <ip_of_your_cable_modem_host>
That is the IP address of the host that has attached the cable modem (or the IP address of the modem itself, depending on your hardware setup). What happens here is that this command tells Linux's TCP/IP to go out through the standard and default exit to the Internet, which is your cable modem. —Felipe E. Barousse Boué, firstname.lastname@example.org
When I try to connect to my ISP, I hear a dial tone but there is no connection. In /var/log/messages, there is the nex message: Peer is not authorized to use remote address x.x.x.x Where x.x.x.x is het number from the ISP. I searched the Internet for this but got very little information. Thank you in advance. —Wim van den Broeke, email@example.com
Try adding the line
to the /etc/ppp/options file so the peer is allowed to set the route from the ISP assigned address, which is assumed not to be set at the moment of connection. Do a man pppd and check all options for the pppd daemon on the “options” setup file. —Felipe E. Barousse Boué, firstname.lastname@example.org
I am new to Linux, and I like it a lot. I would like to know how to do the following:1. Set the desktop display to conform to the monitor. 2. Set up the screen to be able to fit the size of my monitor. 3. Change the color scoop from 16bit to more colors. (Still monitor) 4. I am confused about Samba. Please advise on how to connect Samba file share with Windows. —Luke, email@example.com
1. The Xconfigurator command will guide you on the X setup. Use “custom” monitor and get the correct values of scan frequencies from your monitor manual specs.
2. The highest resolution can be achieved with Xconfigurator, as well. Make sure your monitor supports high resolutions!
3. After Xconfigurator, you can try editing /etc/X11/XF86Config to define default video modes, let's say 800x600 or 1024x768 on your video card's settings section. You have to make sure you have enough video memory to support high color depths.
4. You need to set up the IP and host name of your Windows PC on /etc/hosts. That is, host names must be correctly resolved. Edit /etc/smb.conf and add your workgroup name to the line: workgroup = YOUR_WORKGROUP_NAME. Then, add the server name to the line: server string = YOUR_SAMBA_SERVER_NAME. Finally, edit the line to say hosts allow = xxx.yyy.xxx. 127. You must write the first three number groups of your IP addresses (denoting the LAN address itself) immediately after a blank space and the “127.”, indicating the localhost. Note the trailing dots after network and localhost-network IP numbers. Lastly, share a directory from Linux to Windows, let's say:
[linuxtemp] comment = Linux /tmp directory path = /tmp public = yes writable = yes printable = no
This will share the /tmp directory under the “linuxtemp” name. Restart Samba with the command /etc/rc.d/init.d/smb restart and double click on the network neighborhood of your Windows box; you should see the Linux's share /tmp directory.
Samba is a complex service. I would suggest you look up further details from the Linux documentation project site at metalab.unc.edu/pub/Linux/docs/HOWTO/html_single/SMB-HOWTO--Felipe E. Barousse Boué, firstname.lastname@example.org
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Validate an E-Mail Address with PHP, the Right Way
- RSS Feeds
- Readers' Choice Awards
- Tech Tip: Really Simple HTTP Server with Python
2 hours 27 min ago
- Reply to comment | Linux Journal
2 hours 59 min ago
- All the articles you talked
5 hours 23 min ago
- All the articles you talked
5 hours 26 min ago
- All the articles you talked
5 hours 27 min ago
9 hours 52 min ago
- Keeping track of IP address
11 hours 43 min ago
- Roll your own dynamic dns
16 hours 56 min ago
- Please correct the URL for Salt Stack's web site
20 hours 8 min ago
- Android is Linux -- why no better inter-operation
22 hours 23 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?