Difference between revisions of "Wvdial"

From ArchWiki
Jump to: navigation, search
(Merged this page with "Dial as a user with WvDial")
Line 1: Line 1:
 
[[Category:Network]]
 
[[Category:Network]]
Normal users cant use wvdial to dial a ppp conection, at least not by default.
+
As normal users can't use wvdial to dial a ppp conection by default, you need to change some permissions:
  
Here are the perms you should set:
+
chmod +s /usr/bin/wvdial
 +
chmod +xs /usr/sbin/pppd
  
<pre>
+
Also make sure that the following files are '''readable by user:'''
chmod +s /usr/bin/wvdial
+
chmod +x /usr/sbin/pppd
+
chmod +s /usr/sbin/pppd
+
</pre>
+
  
Also make sure that
+
/etc/resolv.conf
 +
/etc/ppp/options
 +
/etc/ppp/resolv.conf
 +
/etc/ppp/peers/wvdial
  
<pre>
+
For example to set /etc/resolv.conf readable to all users:
/etc/resolv.conf
+
/etc/ppp/options
+
/etc/ppp/resolv.conf
+
/etc/ppp/peers/wvdial
+
</pre>
+
  
are <b>readable by users</b>.
+
chmod a+r /etc/resolv.conf
  
Other way to do this, in a more controlled enviroment is to set up a group called "dial" or "dialout" and give this group the above permissions.
+
-----
  
If you can't access the Internet through your dialed connection, backup your /etc/resolv.conf and make a symlink from /etc/ppp/resolv.conf to /etc/resolv.conf.
+
Another way to do this, in a more controlled enviroment is to set up a group called <tt>dial</tt> or <tt>dialout</tt> and give this group the above permissions and set the above files with this group(s).
 +
 
 +
If you can't access the Internet through your dialed connection as user, backup your <tt>/etc/resolv.conf</tt> and make it a symlink to <tt>/etc/ppp/resolv.conf</tt>.

Revision as of 15:59, 25 November 2005

As normal users can't use wvdial to dial a ppp conection by default, you need to change some permissions:

chmod +s /usr/bin/wvdial
chmod +xs /usr/sbin/pppd

Also make sure that the following files are readable by user:

/etc/resolv.conf
/etc/ppp/options
/etc/ppp/resolv.conf
/etc/ppp/peers/wvdial

For example to set /etc/resolv.conf readable to all users:

chmod a+r /etc/resolv.conf

Another way to do this, in a more controlled enviroment is to set up a group called dial or dialout and give this group the above permissions and set the above files with this group(s).

If you can't access the Internet through your dialed connection as user, backup your /etc/resolv.conf and make it a symlink to /etc/ppp/resolv.conf.