Ubuntu :: 10.10 LAMP Workstation Setting Internet Access?
Feb 9, 2011
I have a Ubuntu 10.10 LAMP workstation and it's working good. I need people to see it from the internet. I assigned an IP address to it and added it to the DMZ list it in the router. My friend can't see it at all from his location. What should I do now? I can see it on my local network OK. I don't want to switch my domain over to it until I can see if from the internet.I gave him my external IP address to try to connect to the system. My external IP is 76.89.114.72
I have successfully set up a cable internet connection in Ubuntu (created a new DSL connection by typing login and password and connected the cable - it worked). But I have no idea how I can set up a wireless internet connection.I have a wireless access point TL-WA501G, laptop and a cable internet connection with fixed IP address.My laptop can see the wireless access point. But I really do not know how to make it all work and what to start from.
setting up my LAMP server to send email messages through my cable network SMTP server. If you respond please realize that I am new to linux/apache. I cannot send emails out with the built in email server on Suse and don't even know if it is enabled. I used to do it with my IIS/ColdFusion server but there were options for the outbound SMTP server and authentication. I have searched and think I have to use something called Pear but to be honest the instructions are vague to say the least and it all looks greek to me.
I have Ubuntu Server 10.10 installed which is guest OS on a XP host. The problem is I cannot connect to the internet. I am using bridged network but still it fails to connect. what configuration should I change in VMWare or should I have to modify anything in XP.
MY OS IS (Widnows XP ) I'm Using VMware Workstation 7 to run My BT4-Beta (backtrack 4)
in my OS Windows XP I have Internet I'm in big network our administrator using Cyberoam Client for Corporate to allow people using Internet.. so if any people connect this network they should has id in Cyberoam if they don't has id will can't connect to the internet.. they will redirect automatically to the log in page in Cyberoam.
So ! in VMware Workstation 7 i configure network adapter to Bridged and i see internet icon with green color but dose not browse internet and also i can't ping my computer this is mean network dose not appear to backtrack my computer is in the network when i try to do ping this is what happened.
And this output to try run network!
PHP Code:
And this is my ifconfig
How to do Step by Step to connect the network using VMware WorkStation!
I have a Windows 7 OS running VMWare workstation and have used a 11.2 OpenSusie distro to install OPenSusie in one of the VMWare environments. Looking in file manager I see all the 'usual' folders, but the CD-Rom is 'pointing' to the iso mounted CD - ie the virtual one. How do I open/mount the real CD/DVD and also how do I access the files in Win7.
i have installed RED Hat Linux,installed VSFTP it is working in linux fine but when i access this ftp from windows workstation it is display "530 Permission denied"i have disable anonymous access, i want to authentication when access to FTP site both for windows and Linux
I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.
On passing the routing command I get Destination Gateway Iface 196.44.x.y 0.0.0.0 ppp0 192.168.1.0 0.0.0.0 eth2 (my subnet) 0.0.0.0 0.0.0.0 ppp0.
The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?
Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.
EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?
I'd like to setup an Ubuntu LAMP server, and provide limited access to it for our in-house web developers/designers. I'm not quite sure how to go about the permissions side of things. Which user/group should "own" the /var/www directory? Is it www-data?
How do I create user accounts (for our developers) that have access to the /var/www directory - do I create accounts then add them to the www-data group? Or should I make a special 'webdev' group and give it access somehow?
After install LAMP, apache2 can't access php files; I can see the info from the phpinfo(); but when I create a php file in /var/www and try to access the file (via web browser), the page is blank. If I change the extension to html I can acces without problems. I checked everythig but I can't understand why any web browser access a blank page. Nothing appears when I'm cheking the error.log file (apache2)
I've installed CentOS 5.3 on my Compaq Evo N800w mobile workstation (laptop). I was able to map the volume up and volume down buttons to the proper function using System - Preferences - Keyboard Shortcuts. I need to map the Internet Browser, Email, Search, and Media Player to the other Easy Access Buttons that Compaq has on this keyboard. Has anyone had success using programs like keyTouch to get this accomplished? Should I be considering other solutions?
I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:
Code:
ERROR The requested URL could not be retrieved
While trying to retrieve the URL: [URL] The following error was encountered:
* Connection to 10.0.11.25 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
I'm trying to set up a wireless AP with Internet sharing. I currently have the AP setup with hostapd and a dhcp server. The clients can connect but there is not Internet sharing. Now my situation is somewhat uniqe in that my internet connection is my teathered android cell phone. The tether app is azilink and i use openvpn to create a virtual networking interface(tun0).
Instead of doing this by actually changing the apache directory, I simply put in a symlink from the WWW directory.This worked many times, but today, under Maverick, I got the following error : "Forbidden You don't have permission to access / on this server."I spent a LOT of time on the web trying to solve this error and in the end, it got solved simply by enabling permissions "access" to "others" direclty on my home folder (because my Dropbox folder is, of course, within my home folder).However, I have no idea if this is a good idea. Does this mean that simply anyone could access any file on my computer ??Alternatively, does anyone know how I could proceed to make this LAMP server work WITHOUT having to change my Home directy permissions this way ?
I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following
----On the phone---
-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.
-Decide and set "Shared Network" parameters: user, pasword and workgroup.
-In "conectivity-> internet connection" set "allow local network" to "yes"
----On Ubuntu 10.04---
-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server
-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.
-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.
-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd
-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).
-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"
-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.
-Apply policies and start the firewall.
------------
After all this, the phone can access the internet through the computer. Two problems appeared:
1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.
2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.
So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection
I connected my laptop running with Ubuntu 11 in the LAN but I couldn't access internet.But I could ping to the other computers connected in the LAN. I tried the same thing with windows 7 in the same laptop and I could access internet.
I installed 11.3amd64 as a VM under Vista/VMWare Player - all worked fine. I have now installed it as a physical system. It nstalled cleanly BUT during first boot it could not access the repos. With each repo it gave the message
- download (curl) error for (repo) - error code connection failed - error message could not resolve host (repo)
This was followed by a message box containing
- UI syntax error - no widget with ID 'contents
Firefox could not access the internet (cannot find server) until I disabled IPV6 (I used about:config), now it works fine. I think the repos problem is because of IPV6 - I usually have trouble with IPV6. I tried disabling IPV6 with the following (How To Disable ipv6 on SuSE Linux | Linux Poison)
I have an old FC2 box running Squid version 2.5. It has been running since 2003 so I am in the process of replacing it. I have a new machine with FC11, iptables, and Squid 3.0 installed.
On the old machine I use iptables to intercept Port 80 traffic and send it to Squid. By default I block all internet access and allow only sites that are in an Allowed_Sites.txt file. Within Squid I also have statements to allow certain users to bypass Squid based on their IP address.
I have set up the same thing on the new box. I have iptables intercepting the Port 80 traffic and sending it to Squid. That is working because if I remove the redirect statement from iptables all internet access is blocked.
The problem I am having is that Squid is not blocking any websites. It acts like the ACL is set to http_access allow all. I have worked on this for several hours and am stumped.
I just installed Ubuntu 10.04 and am very excited about using it for the first time. I am very new to computers and stuff though so I don't have much of a clue as to what I'm doing. Although it installed fine, for my wireless connection it says "device not ready". What does this mean and how do I connect to the internet?
I set up a static IP address yesterday, following the instructions at the top of this page and since my machine no longer connects to the internet (although all other machines are connecting fine, so I know it's a result of this change).
My dell notebook runs Ubuntu (Karmic Koala). I want to be able to remote access my mom's Mac notebook (I believe it's an Airbook?), so that I can assist her with problems on her computer.What would I need to do on my computer (and how?)What would I need to do on her computer (and how?) to set this up?
I can communicate to Windows perfectly (Internet sharing, file sharing, printer sharing, etc), but Windows controls everything, and I can't access any other Ubuntu PC, or host a printer or Internet connection. I have been fighting Samba for quite a long time, and I finally am able to access Windows shares from Ubuntu, but I want to host the shared folders (and everything else) on Ubuntu instead, because I have a bigger HD on it, and it is just a faster computer.
I tried personal file sharing and shared folders, but it doesn't work. I am also not able to access other Ubuntu PCs in the network, for printing, remote desktop, or file-sharing. All the computer are connected to the same Ethernet router. I'm using XP Home SP3, Ubuntu 10.04 x64, and a laptop running 11.04 beta 2.
I have virtual XP set up with VirtualBox and I can't (been trying for a couple weeks now) to get an Internet connection on the VM. I have tried using NAT, bridged adapters and nothing.
I just installed Ubuntu 10.04 . Need to get my wireless router working on my HP laptop. Have been using a Linksys WRT54G Router with windows and it is working properly. Tried setting up in NetworkManager but it does not work.
When looking at things in the Ubuntu terminal it says the network is DISABLED.
I have installed the wireless driver shown in the additional drivers tool but am unable to understand how to set up a wifi hotspot so that i can use internet on my android phonethe guides google returned are a bit too complicated with ip tables and all
The problem isn't with thew new computer but with my computer running Ubuntu. The problem is that I'm having trouble getting the Internet to work. Before the router I just plug my PC straight into the modem but now with the router I can't get on the Internet. I can get a connection to the router but no Internet. I know the it is not the router because I use my PS3 and it worked fine. I spend like an hour just trying to get the connection but can't figure out the Internet problem. What I did to get the connection is copy the ip address, Mac, and etc. from the PS3. Then I made a new connection and put the data in the IPV4 settings and it got a connection but I'm not sure if I did that right or just got lucky
I have a Sonicwall access point, which I am able to set up through the interface, but after that I am unable to achieve a connection through my wireless card. I have a good understanding of everything involved, but really have no hands on experience when it comes to networking.
Also, I should have mentioned that @ the interface for the Sonicwall it said that "no DNS server had been specified", but I set it up for DHCP, and I thought my ISP is using PPPoE (which I also thought used DHCP).